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

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
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..0dce8562a08fd8188b7968486f442eaad0042268 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;
+ // Regsiter/Unregister tracing UI that is using this TracingController.
dsinclair 2014/01/08 15:57:27 nit: s/Regsiter/Register
+ virtual void RegisterTracingUI(TracingUI* tracing_ui) = 0;
+ virtual void UnregisterTracingUI(TracingUI* tracing_ui) = 0;
+
protected:
virtual ~TracingController() {}
};
« content/browser/tracing/tracing_ui.cc ('K') | « content/browser/tracing/tracing_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698