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

Unified Diff: components/tracing/child_trace_message_filter.h

Issue 1447643002: Bulk Reports: Fix an infinite loop in ChildTraceMessageFilter::OnSetUMACallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix IOS. Created 5 years, 1 month 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 | « components/components_tests.gyp ('k') | components/tracing/child_trace_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/child_trace_message_filter.h
diff --git a/components/tracing/child_trace_message_filter.h b/components/tracing/child_trace_message_filter.h
index 9f7755ca70d2638a009fb72d4526f244af67dd92..47999762f944bda0b6d486442450ef3da51f8515 100644
--- a/components/tracing/child_trace_message_filter.h
+++ b/components/tracing/child_trace_message_filter.h
@@ -42,6 +42,8 @@ class TRACING_EXPORT ChildTraceMessageFilter : public IPC::MessageFilter {
~ChildTraceMessageFilter() override;
private:
+ friend class ChildTraceMessageFilterTest;
+
// Message handlers.
void OnBeginTracing(const std::string& trace_config_str,
base::TimeTicks browser_time,
@@ -84,6 +86,8 @@ class TRACING_EXPORT ChildTraceMessageFilter : public IPC::MessageFilter {
void OnProcessMemoryDumpDone(uint64 dump_guid, bool success);
+ void SetSenderForTesting(IPC::Sender* sender);
+
IPC::Sender* sender_;
base::SingleThreadTaskRunner* ipc_task_runner_;
« no previous file with comments | « components/components_tests.gyp ('k') | components/tracing/child_trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698