Index: content/public/browser/background_tracing_manager.cc |
diff --git a/content/public/browser/background_tracing_manager.cc b/content/public/browser/background_tracing_manager.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6faea221b8a7067925c4d6d9c6befe948a0f4219 |
--- /dev/null |
+++ b/content/public/browser/background_tracing_manager.cc |
@@ -0,0 +1,67 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/public/browser/background_tracing_manager.h" |
+ |
+namespace content { |
+ |
+BackgroundTracingConfig::BackgroundTracingConfig(Mode m) : |
+ mode(m) { |
+} |
+ |
+BackgroundTracingConfig::~BackgroundTracingConfig() { |
+} |
+ |
+bool BackgroundTracingConfig::FromDict(const base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+ return false; |
+} |
+ |
+void BackgroundTracingConfig::IntoDict(base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+} |
+ |
+BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig() : |
+ BackgroundTracingConfig( |
+ BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE), |
+ category_preset(BackgroundTracingConfig::BENCHMARK) { |
+} |
+ |
+BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() { |
+} |
+ |
+bool BackgroundTracingPreemptiveConfig::FromDict(const base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+ return false; |
+} |
+ |
+void BackgroundTracingPreemptiveConfig::IntoDict(base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+} |
+ |
+BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig() : |
+ BackgroundTracingConfig( |
+ BackgroundTracingConfig::REACTIVE_TRACING_MODE) { |
+} |
+ |
+BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() { |
+} |
+ |
+bool BackgroundTracingReactiveConfig::FromDict(const base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+ return false; |
+} |
+ |
+void BackgroundTracingReactiveConfig::IntoDict(base::DictionaryValue*) { |
+ // TODO(simonhatch): Implement this. |
+ CHECK(false); |
+} |
+ |
+} |
+ // namespace content |