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

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

Issue 1089253003: Re-land first pass BackgroundTracingManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes. 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_config.cc
diff --git a/content/public/browser/background_tracing_config.cc b/content/public/browser/background_tracing_config.cc
new file mode 100644
index 0000000000000000000000000000000000000000..204be64ef2dd514bb16050cf3e7c1d8724a75a40
--- /dev/null
+++ b/content/public/browser/background_tracing_config.cc
@@ -0,0 +1,35 @@
+// 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_config.h"
+
+#include "content/public/browser/background_tracing_manager.h"
+#include "content/public/browser/background_tracing_preemptive_config.h"
+#include "content/public/browser/background_tracing_reactive_config.h"
+#include "content/public/browser/background_tracing_upload_sink.h"
+
+namespace content {
+
+BackgroundTracingConfig::BackgroundTracingConfig(Mode mode) : mode(mode) {
+}
+
+BackgroundTracingConfig::~BackgroundTracingConfig() {
+}
+
+BackgroundTracingPreemptiveConfig::BackgroundTracingPreemptiveConfig()
+ : BackgroundTracingConfig(BackgroundTracingConfig::PREEMPTIVE_TRACING_MODE),
+ category_preset(BackgroundTracingConfig::BENCHMARK) {
+}
+
+BackgroundTracingPreemptiveConfig::~BackgroundTracingPreemptiveConfig() {
no sievers 2015/05/19 19:52:21 these are still here in the wrong .cc file
shatch 2015/05/20 18:23:16 Done.
+}
+
+BackgroundTracingReactiveConfig::BackgroundTracingReactiveConfig()
+ : BackgroundTracingConfig(BackgroundTracingConfig::REACTIVE_TRACING_MODE) {
+}
+
no sievers 2015/05/19 19:52:22 same here
shatch 2015/05/20 18:23:16 Done.
+BackgroundTracingReactiveConfig::~BackgroundTracingReactiveConfig() {
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698