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

Unified Diff: content/browser/tracing/background_tracing_manager_impl.h

Issue 1148633007: Hooked the trace event argument whitelist up to the background_trace_manager (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
Index: content/browser/tracing/background_tracing_manager_impl.h
diff --git a/content/browser/tracing/background_tracing_manager_impl.h b/content/browser/tracing/background_tracing_manager_impl.h
index fd1fd00ad9e4fe147d0861e37c1327448ab6b53b..bb44217ba4fe4fc96dacfe85dad9e59441ea9ff6 100644
--- a/content/browser/tracing/background_tracing_manager_impl.h
+++ b/content/browser/tracing/background_tracing_manager_impl.h
@@ -21,6 +21,7 @@ class BackgroundTracingManagerImpl : public content::BackgroundTracingManager {
bool SetActiveScenario(scoped_ptr<BackgroundTracingConfig>,
const ReceiveCallback&,
+ const base::Closure& enabled_callback,
shatch 2015/05/22 22:21:37 Is this needed? Just for testing?
bool) override;
void WhenIdle(IdleCallback idle_callback) override;
@@ -34,8 +35,9 @@ class BackgroundTracingManagerImpl : public content::BackgroundTracingManager {
BackgroundTracingManagerImpl();
~BackgroundTracingManagerImpl() override;
- void EnableRecording(base::trace_event::CategoryFilter);
- void EnableRecordingIfConfigNeedsIt();
+ void EnableRecording(base::trace_event::CategoryFilter,
+ const base::Closure& enabled_callback);
+ void EnableRecordingIfConfigNeedsIt(const base::Closure& enabled_callback);
void OnFinalizeStarted(scoped_refptr<base::RefCountedString>);
void OnFinalizeComplete();
void BeginFinalizing(StartedFinalizingCallback);

Powered by Google App Engine
This is Rietveld 408576698