| 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_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; | 117 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; |
| 118 virtual void AddFilter(BrowserMessageFilter* filter) OVERRIDE; | 118 virtual void AddFilter(BrowserMessageFilter* filter) OVERRIDE; |
| 119 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; | 119 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; |
| 120 virtual bool FastShutdownStarted() const OVERRIDE; | 120 virtual bool FastShutdownStarted() const OVERRIDE; |
| 121 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; | 121 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; |
| 122 virtual void ResumeRequestsForView(int route_id) OVERRIDE; | 122 virtual void ResumeRequestsForView(int route_id) OVERRIDE; |
| 123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; | 123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; |
| 124 #if defined(ENABLE_WEBRTC) | 124 #if defined(ENABLE_WEBRTC) |
| 125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; | 125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; |
| 126 virtual void DisableAecDump() OVERRIDE; | 126 virtual void DisableAecDump() OVERRIDE; |
| 127 virtual void SetWebRtcLogMessageCallback( |
| 128 base::Callback<void(const std::string&)> callback) OVERRIDE; |
| 129 virtual void WebRtcLogMessage(const std::string& message) OVERRIDE; |
| 127 #endif | 130 #endif |
| 128 | 131 |
| 129 // IPC::Sender via RenderProcessHost. | 132 // IPC::Sender via RenderProcessHost. |
| 130 virtual bool Send(IPC::Message* msg) OVERRIDE; | 133 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 131 | 134 |
| 132 // IPC::Listener via RenderProcessHost. | 135 // IPC::Listener via RenderProcessHost. |
| 133 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 136 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 134 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 137 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
| 135 virtual void OnChannelError() OVERRIDE; | 138 virtual void OnChannelError() OVERRIDE; |
| 136 | 139 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 | 385 |
| 383 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 386 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
| 384 | 387 |
| 385 #if defined(OS_ANDROID) | 388 #if defined(OS_ANDROID) |
| 386 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; | 389 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; |
| 387 #endif | 390 #endif |
| 388 | 391 |
| 389 // Message filter for geolocation messages. | 392 // Message filter for geolocation messages. |
| 390 GeolocationDispatcherHost* geolocation_dispatcher_host_; | 393 GeolocationDispatcherHost* geolocation_dispatcher_host_; |
| 391 | 394 |
| 395 #if defined(ENABLE_WEBRTC) |
| 396 base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
| 397 #endif |
| 398 |
| 392 // Lives on the browser's ChildThread. | 399 // Lives on the browser's ChildThread. |
| 393 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 400 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 394 | 401 |
| 395 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 402 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 396 }; | 403 }; |
| 397 | 404 |
| 398 } // namespace content | 405 } // namespace content |
| 399 | 406 |
| 400 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 407 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |