OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 27 matching lines...) Expand all Loading... |
38 class VideoCaptureImplManager; | 38 class VideoCaptureImplManager; |
39 struct ViewMsg_New_Params; | 39 struct ViewMsg_New_Params; |
40 class WebDatabaseObserverImpl; | 40 class WebDatabaseObserverImpl; |
41 | 41 |
42 namespace WebKit { | 42 namespace WebKit { |
43 class WebMediaStreamCenter; | 43 class WebMediaStreamCenter; |
44 class WebMediaStreamCenterClient; | 44 class WebMediaStreamCenterClient; |
45 } | 45 } |
46 | 46 |
47 namespace base { | 47 namespace base { |
| 48 class HistogramSender; |
48 class MessageLoopProxy; | 49 class MessageLoopProxy; |
49 class Thread; | 50 class Thread; |
50 namespace win { | 51 namespace win { |
51 class ScopedCOMInitializer; | 52 class ScopedCOMInitializer; |
52 } | 53 } |
53 } | 54 } |
54 | 55 |
55 namespace content { | 56 namespace content { |
56 class BrowserPluginChannelManager; | 57 class BrowserPluginChannelManager; |
57 class BrowserPluginRegistry; | 58 class BrowserPluginRegistry; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // When initializing WebKit, ensure that any schemes needed for the content | 91 // When initializing WebKit, ensure that any schemes needed for the content |
91 // module are registered properly. Static to allow sharing with tests. | 92 // module are registered properly. Static to allow sharing with tests. |
92 static void RegisterSchemes(); | 93 static void RegisterSchemes(); |
93 | 94 |
94 // content::RenderThread implementation: | 95 // content::RenderThread implementation: |
95 virtual bool Send(IPC::Message* msg) OVERRIDE; | 96 virtual bool Send(IPC::Message* msg) OVERRIDE; |
96 virtual MessageLoop* GetMessageLoop() OVERRIDE; | 97 virtual MessageLoop* GetMessageLoop() OVERRIDE; |
97 virtual IPC::SyncChannel* GetChannel() OVERRIDE; | 98 virtual IPC::SyncChannel* GetChannel() OVERRIDE; |
98 virtual std::string GetLocale() OVERRIDE; | 99 virtual std::string GetLocale() OVERRIDE; |
99 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE; | 100 virtual IPC::SyncMessageFilter* GetSyncMessageFilter() OVERRIDE; |
| 101 virtual base::HistogramSender* GetHistogramSender() OVERRIDE; |
100 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() | 102 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() |
101 OVERRIDE; | 103 OVERRIDE; |
102 virtual void AddRoute(int32 routing_id, | 104 virtual void AddRoute(int32 routing_id, |
103 IPC::Channel::Listener* listener) OVERRIDE; | 105 IPC::Channel::Listener* listener) OVERRIDE; |
104 virtual void RemoveRoute(int32 routing_id) OVERRIDE; | 106 virtual void RemoveRoute(int32 routing_id) OVERRIDE; |
105 virtual int GenerateRoutingID() OVERRIDE; | 107 virtual int GenerateRoutingID() OVERRIDE; |
106 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 108 virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
107 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; | 109 virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) OVERRIDE; |
108 virtual void SetOutgoingMessageFilter( | 110 virtual void SetOutgoingMessageFilter( |
109 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; | 111 IPC::ChannelProxy::OutgoingMessageFilter* filter) OVERRIDE; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 bool compositor_initialized_; | 293 bool compositor_initialized_; |
292 scoped_ptr<CompositorThread> compositor_thread_; | 294 scoped_ptr<CompositorThread> compositor_thread_; |
293 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; | 295 scoped_ptr<content::BrowserPluginRegistry> browser_plugin_registry_; |
294 | 296 |
295 ObserverList<content::RenderProcessObserver> observers_; | 297 ObserverList<content::RenderProcessObserver> observers_; |
296 | 298 |
297 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 299 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
298 }; | 300 }; |
299 | 301 |
300 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 302 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |