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

Unified Diff: content/browser/trace_message_filter.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/browser/trace_controller_impl.cc ('k') | content/browser/trace_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/trace_message_filter.h
diff --git a/content/browser/trace_message_filter.h b/content/browser/trace_message_filter.h
index ba54a7fb2db9bab35c138170c5e6e78074fd7bbc..4eece065b07bb0d980435f5b8335528ae2d19711 100644
--- a/content/browser/trace_message_filter.h
+++ b/content/browser/trace_message_filter.h
@@ -29,6 +29,9 @@ class TraceMessageFilter : public content::BrowserMessageFilter {
const std::vector<std::string>& excluded_categories);
void SendEndTracing();
void SendGetTraceBufferPercentFull();
+ void SendSetWatchEvent(const std::string& category_name,
+ const std::string& event_name);
+ void SendCancelWatchEvent();
protected:
virtual ~TraceMessageFilter();
@@ -37,7 +40,7 @@ class TraceMessageFilter : public content::BrowserMessageFilter {
// Message handlers.
void OnChildSupportsTracing();
void OnEndTracingAck(const std::vector<std::string>& known_categories);
- void OnTraceBufferFull();
+ void OnTraceNotification(int notification);
void OnTraceBufferPercentFullReply(float percent_full);
void OnTraceDataCollected(const std::string& data);
« no previous file with comments | « content/browser/trace_controller_impl.cc ('k') | content/browser/trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698