trace_event_stub.cc 1.3 KB

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