| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class CommandLine; | 29 class CommandLine; |
| 30 class MessageLoop; | 30 class MessageLoop; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace gfx { | 33 namespace gfx { |
| 34 class Size; | 34 class Size; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace IPC { |
| 38 class ChannelMojoHost; |
| 39 } |
| 40 |
| 37 namespace content { | 41 namespace content { |
| 38 class AudioRendererHost; | 42 class AudioRendererHost; |
| 39 class BrowserCdmManager; | 43 class BrowserCdmManager; |
| 40 class BrowserDemuxerAndroid; | 44 class BrowserDemuxerAndroid; |
| 41 class GpuMessageFilter; | 45 class GpuMessageFilter; |
| 42 class MessagePortMessageFilter; | 46 class MessagePortMessageFilter; |
| 43 class MojoApplicationHost; | 47 class MojoApplicationHost; |
| 44 #if defined(ENABLE_WEBRTC) | 48 #if defined(ENABLE_WEBRTC) |
| 45 class P2PSocketDispatcherHost; | 49 class P2PSocketDispatcherHost; |
| 46 #endif | 50 #endif |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); | 257 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); |
| 254 | 258 |
| 255 // Activates Mojo for this process. Does nothing if Mojo is already activated. | 259 // Activates Mojo for this process. Does nothing if Mojo is already activated. |
| 256 void EnsureMojoActivated(); | 260 void EnsureMojoActivated(); |
| 257 | 261 |
| 258 protected: | 262 protected: |
| 259 // A proxy for our IPC::Channel that lives on the IO thread (see | 263 // A proxy for our IPC::Channel that lives on the IO thread (see |
| 260 // browser_process.h) | 264 // browser_process.h) |
| 261 scoped_ptr<IPC::ChannelProxy> channel_; | 265 scoped_ptr<IPC::ChannelProxy> channel_; |
| 262 | 266 |
| 267 // A host object ChannelMojo needs. The lifetime is bound to |
| 268 // the RenderProcessHostImpl, not the channel. |
| 269 scoped_ptr<IPC::ChannelMojoHost> channel_mojo_host_; |
| 270 |
| 263 // True if fast shutdown has been performed on this RPH. | 271 // True if fast shutdown has been performed on this RPH. |
| 264 bool fast_shutdown_started_; | 272 bool fast_shutdown_started_; |
| 265 | 273 |
| 266 // True if we've posted a DeleteTask and will be deleted soon. | 274 // True if we've posted a DeleteTask and will be deleted soon. |
| 267 bool deleting_soon_; | 275 bool deleting_soon_; |
| 268 | 276 |
| 269 #ifndef NDEBUG | 277 #ifndef NDEBUG |
| 270 // True if this object has deleted itself. | 278 // True if this object has deleted itself. |
| 271 bool is_self_deleted_; | 279 bool is_self_deleted_; |
| 272 #endif | 280 #endif |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 base::TimeTicks survive_for_worker_start_time_; | 456 base::TimeTicks survive_for_worker_start_time_; |
| 449 | 457 |
| 450 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 458 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 451 | 459 |
| 452 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 460 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 453 }; | 461 }; |
| 454 | 462 |
| 455 } // namespace content | 463 } // namespace content |
| 456 | 464 |
| 457 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 465 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |