Index: content/common/child_thread.h |
=================================================================== |
--- content/common/child_thread.h (revision 140625) |
+++ content/common/child_thread.h (working copy) |
@@ -20,6 +20,10 @@ |
class ResourceDispatcher; |
class SocketStreamDispatcher; |
+namespace content { |
+class ChildHistogramMessageFilter; |
+} |
+ |
namespace IPC { |
class SyncChannel; |
class SyncMessageFilter; |
@@ -79,6 +83,10 @@ |
// lifetime is less than the main thread. |
IPC::SyncMessageFilter* sync_message_filter(); |
+ content::ChildHistogramMessageFilter* child_histogram_message_filter() const { |
+ return histogram_message_filter_.get(); |
+ } |
+ |
MessageLoop* message_loop(); |
// Returns the one child thread. |
@@ -144,6 +152,8 @@ |
scoped_ptr<QuotaDispatcher> quota_dispatcher_; |
+ scoped_refptr<content::ChildHistogramMessageFilter> histogram_message_filter_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ChildThread); |
}; |