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