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

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

Issue 1147383002: Revert of First pass BackgroundTracingManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/background_tracing_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/background_tracing_config.h
diff --git a/content/public/browser/background_tracing_config.h b/content/public/browser/background_tracing_config.h
deleted file mode 100644
index 7db676d61a9026afa89a0d60b077ad8d4e09ec8e..0000000000000000000000000000000000000000
--- a/content/public/browser/background_tracing_config.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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.
-
-#ifndef CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
-#define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
-
-#include "base/trace_event/trace_event_impl.h"
-#include "content/common/content_export.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace content {
-
-// BackgroundTracingConfig is passed to the BackgroundTracingManager to
-// setup the trigger rules used to enable/disable background tracing.
-struct CONTENT_EXPORT BackgroundTracingConfig {
- virtual ~BackgroundTracingConfig();
-
- enum Mode {
- PREEMPTIVE_TRACING_MODE,
- REACTIVE_TRACING_MODE,
- };
- enum CategoryPreset {
- BENCHMARK,
- BENCHMARK_DEEP,
- };
-
- Mode mode;
-
- static BackgroundTracingConfig* FromDict(const base::DictionaryValue* dict);
- static void IntoDict(const BackgroundTracingConfig* config,
- base::DictionaryValue* dict);
-
- protected:
- BackgroundTracingConfig(Mode mode);
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_CONFIG_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/background_tracing_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698