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

Unified Diff: content/browser/tracing/trace_message_filter.h

Issue 2833873003: WIP: The tracing service prototype
Patch Set: sync Created 3 years, 7 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/browser/tracing/trace_message_filter.h
diff --git a/content/browser/tracing/trace_message_filter.h b/content/browser/tracing/trace_message_filter.h
index 97ae0a26ba532efc7365611d27bfc51c2a699d92..ace549807fb095b5e7aa6ff7a1de5707b63769d8 100644
--- a/content/browser/tracing/trace_message_filter.h
+++ b/content/browser/tracing/trace_message_filter.h
@@ -24,42 +24,16 @@ class TraceMessageFilter : public BrowserMessageFilter {
explicit TraceMessageFilter(int child_process_id);
// BrowserMessageFilter implementation.
- void OnChannelClosing() override;
bool OnMessageReceived(const IPC::Message& message) override;
- void SendBeginTracing(
- const base::trace_event::TraceConfig& trace_config);
- void SendEndTracing();
- void SendCancelTracing();
- void SendGetTraceLogStatus();
- void SendSetWatchEvent(const std::string& category_name,
- const std::string& event_name);
- void SendCancelWatchEvent();
-
protected:
~TraceMessageFilter() override;
private:
// Message handlers.
- void OnChildSupportsTracing();
- void OnEndTracingAck(const std::vector<std::string>& known_categories);
- void OnWatchEventMatched();
- void OnTraceLogStatusReply(const base::trace_event::TraceLogStatus& status);
- void OnTraceDataCollected(const std::string& data);
void OnTriggerBackgroundTrace(const std::string& histogram_name);
void OnAbortBackgroundTrace();
- // ChildTraceMessageFilter exists:
- bool has_child_;
-
- // Hash of id of the child process.
- uint64_t tracing_process_id_;
-
- // Awaiting ack for previously sent SendEndTracing
- bool is_awaiting_end_ack_;
- // Awaiting ack for previously sent SendGetTraceLogStatus
- bool is_awaiting_buffer_percent_full_ack_;
-
DISALLOW_COPY_AND_ASSIGN(TraceMessageFilter);
};
« no previous file with comments | « content/browser/service_manager/common_browser_interfaces.cc ('k') | content/browser/tracing/trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698