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

Unified Diff: content/common/child_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: cleaned up and fixed a bug 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
Index: content/common/child_trace_message_filter.h
diff --git a/content/common/child_trace_message_filter.h b/content/common/child_trace_message_filter.h
index d913d6a09454adb439bc7dc9ad7aaad1889ae244..a06e8f68e36d885a6f319249df304ea6f1ed7899 100644
--- a/content/common/child_trace_message_filter.h
+++ b/content/common/child_trace_message_filter.h
@@ -30,11 +30,15 @@ class ChildTraceMessageFilter : public IPC::ChannelProxy::MessageFilter {
const std::vector<std::string>& excluded_categories);
void OnEndTracing();
void OnGetTraceBufferPercentFull();
+ void OnSetWatchEvent(const std::string& category_name,
+ const std::string& event_name,
+ int num_occurrences);
+ void OnCancelWatchEvent();
// Callback from trace subsystem.
void OnTraceDataCollected(
const scoped_refptr<base::RefCountedString>& events_str_ptr);
- void OnTraceBufferFull();
+ void OnTraceNotification(int notification);
IPC::Channel* channel_;

Powered by Google App Engine
This is Rietveld 408576698