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

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

Issue 127703002: Add a mechanism to let TracingController invoke JavaScript via TracingUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/browser/tracing/tracing_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/tracing_controller.h
diff --git a/content/public/browser/tracing_controller.h b/content/public/browser/tracing_controller.h
index 68184a5a844deaa2cb752643ccfb6a1e57fe011d..6291337b84e747eb682c1f61f5e58fa6d12305bd 100644
--- a/content/public/browser/tracing_controller.h
+++ b/content/public/browser/tracing_controller.h
@@ -18,6 +18,7 @@ class FilePath;
namespace content {
class TracingController;
+class TracingUI;
// TracingController is used on the browser processes to enable/disable
// trace status and collect trace data. Only the browser UI thread is allowed
@@ -161,6 +162,10 @@ class TracingController {
// watch event callback.
virtual bool CancelWatchEvent() = 0;
+ // Register/Unregister tracing UI that is using this TracingController.
+ virtual void RegisterTracingUI(TracingUI* tracing_ui) = 0;
jam 2014/01/09 18:11:45 since these are methods called internally from con
haraken 2014/01/10 01:02:38 Thanks, removed from public APIs.
+ virtual void UnregisterTracingUI(TracingUI* tracing_ui) = 0;
+
protected:
virtual ~TracingController() {}
};
« no previous file with comments | « content/browser/tracing/tracing_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698