Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1618)

Unified Diff: content/public/browser/background_tracing_manager.cc

Issue 1002103004: NOT FOR REVIEW - Slow Reports Reference Implementation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup WIP. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698