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_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_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 25 matching lines...) Expand all Loading... |
36 namespace gpu { | 36 namespace gpu { |
37 class ValueStateMap; | 37 class ValueStateMap; |
38 } | 38 } |
39 | 39 |
40 namespace IPC { | 40 namespace IPC { |
41 class ChannelMojoHost; | 41 class ChannelMojoHost; |
42 } | 42 } |
43 | 43 |
44 namespace content { | 44 namespace content { |
45 class AudioRendererHost; | 45 class AudioRendererHost; |
46 class BluetoothDispatcherHost; | |
47 class BrowserCdmManager; | 46 class BrowserCdmManager; |
48 class BrowserDemuxerAndroid; | 47 class BrowserDemuxerAndroid; |
49 class GpuMessageFilter; | 48 class GpuMessageFilter; |
50 class InProcessChildThreadParams; | 49 class InProcessChildThreadParams; |
51 class MessagePortMessageFilter; | 50 class MessagePortMessageFilter; |
52 class MojoApplicationHost; | 51 class MojoApplicationHost; |
53 class NotificationMessageFilter; | 52 class NotificationMessageFilter; |
54 #if defined(ENABLE_WEBRTC) | 53 #if defined(ENABLE_WEBRTC) |
55 class P2PSocketDispatcherHost; | 54 class P2PSocketDispatcherHost; |
56 #endif | 55 #endif |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 void IncrementWorkerRefCount(); | 267 void IncrementWorkerRefCount(); |
269 void DecrementWorkerRefCount(); | 268 void DecrementWorkerRefCount(); |
270 | 269 |
271 // Call this function to resume the navigation when it was deferred | 270 // Call this function to resume the navigation when it was deferred |
272 // immediately after receiving response headers. | 271 // immediately after receiving response headers. |
273 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); | 272 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); |
274 | 273 |
275 void GetAudioOutputControllers( | 274 void GetAudioOutputControllers( |
276 const GetAudioOutputControllersCallback& callback) const override; | 275 const GetAudioOutputControllersCallback& callback) const override; |
277 | 276 |
278 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); | |
279 | |
280 protected: | 277 protected: |
281 // A proxy for our IPC::Channel that lives on the IO thread (see | 278 // A proxy for our IPC::Channel that lives on the IO thread (see |
282 // browser_process.h) | 279 // browser_process.h) |
283 scoped_ptr<IPC::ChannelProxy> channel_; | 280 scoped_ptr<IPC::ChannelProxy> channel_; |
284 | 281 |
285 // A host object ChannelMojo needs. The lifetime is bound to | 282 // A host object ChannelMojo needs. The lifetime is bound to |
286 // the RenderProcessHostImpl, not the channel. | 283 // the RenderProcessHostImpl, not the channel. |
287 scoped_ptr<IPC::ChannelMojoHost> channel_mojo_host_; | 284 scoped_ptr<IPC::ChannelMojoHost> channel_mojo_host_; |
288 | 285 |
289 // True if fast shutdown has been performed on this RPH. | 286 // True if fast shutdown has been performed on this RPH. |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 448 |
452 // Indicates whether RenderProcessHostImpl is currently iterating and calling | 449 // Indicates whether RenderProcessHostImpl is currently iterating and calling |
453 // through RenderProcessHostObserver::RenderProcessExited. | 450 // through RenderProcessHostObserver::RenderProcessExited. |
454 bool within_process_died_observer_; | 451 bool within_process_died_observer_; |
455 | 452 |
456 // Forwards power state messages to the renderer process. | 453 // Forwards power state messages to the renderer process. |
457 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; | 454 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; |
458 | 455 |
459 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 456 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
460 | 457 |
461 scoped_refptr<BluetoothDispatcherHost> bluetooth_dispatcher_host_; | |
462 | |
463 #if defined(OS_ANDROID) | 458 #if defined(OS_ANDROID) |
464 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; | 459 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; |
465 #endif | 460 #endif |
466 | 461 |
467 #if defined(ENABLE_BROWSER_CDMS) | 462 #if defined(ENABLE_BROWSER_CDMS) |
468 scoped_refptr<BrowserCdmManager> browser_cdm_manager_; | 463 scoped_refptr<BrowserCdmManager> browser_cdm_manager_; |
469 #endif | 464 #endif |
470 | 465 |
471 #if defined(ENABLE_WEBRTC) | 466 #if defined(ENABLE_WEBRTC) |
472 base::Callback<void(const std::string&)> webrtc_log_message_callback_; | 467 base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 bool subscribe_uniform_enabled_; | 501 bool subscribe_uniform_enabled_; |
507 | 502 |
508 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
509 | 504 |
510 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
511 }; | 506 }; |
512 | 507 |
513 } // namespace content | 508 } // namespace content |
514 | 509 |
515 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |