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

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

Issue 10837082: implement SetWatchEvent and WaitForEvent for trace-based-tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update / merge -- no change Created 8 years, 4 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/public/browser/trace_controller.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/trace_subscriber.h
diff --git a/content/public/browser/trace_subscriber.h b/content/public/browser/trace_subscriber.h
index 08e408c1b80b83b218071fc1cbb694d7200bfa15..ec8d070ba4b8fc00e526aa0f5935972d0f05522d 100644
--- a/content/public/browser/trace_subscriber.h
+++ b/content/public/browser/trace_subscriber.h
@@ -11,7 +11,8 @@
namespace content {
-// Objects interested in receiving trace data derive from TraceSubscriber.
+// Objects interested in receiving trace data derive from TraceSubscriber. All
+// callbacks occur on the UI thread.
// See also: trace_message_filter.h
// See also: child_trace_message_filter.h
class TraceSubscriber {
@@ -31,6 +32,8 @@ class TraceSubscriber {
virtual void OnTraceBufferPercentFullReply(float percent_full) {}
+ virtual void OnEventWatchNotification() {}
+
protected:
virtual ~TraceSubscriber() {}
};
« no previous file with comments | « content/public/browser/trace_controller.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698