trace_event_stub.cc (1297B)
1 // Copyright 2020 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <stddef.h> 6 7 #include <string> 8 9 #include "base/trace_event/trace_event_stub.h" 10 11 namespace base { 12 namespace trace_event { 13 14 ConvertableToTraceFormat::~ConvertableToTraceFormat() = default; 15 16 void TracedValue::AppendAsTraceFormat(std::string* out) const {} 17 18 MemoryDumpProvider::~MemoryDumpProvider() = default; 19 20 // static 21 constexpr const char* const MemoryDumpManager::kTraceCategory; 22 23 } // namespace trace_event 24 } // namespace base 25 26 namespace perfetto { 27 28 TracedDictionary TracedValue::WriteDictionary() && { 29 return TracedDictionary(); 30 } 31 32 TracedArray TracedValue::WriteArray() && { 33 return TracedArray(); 34 } 35 36 TracedArray TracedDictionary::AddArray(StaticString) { 37 return TracedArray(); 38 } 39 40 TracedArray TracedDictionary::AddArray(DynamicString) { 41 return TracedArray(); 42 } 43 44 TracedDictionary TracedDictionary::AddDictionary(StaticString) { 45 return TracedDictionary(); 46 } 47 48 TracedDictionary TracedDictionary::AddDictionary(DynamicString) { 49 return TracedDictionary(); 50 } 51 52 TracedArray TracedArray::AppendArray() { 53 return TracedArray(); 54 } 55 56 TracedDictionary TracedArray::AppendDictionary() { 57 return TracedDictionary(); 58 } 59 60 } // namespace perfetto