Chromium Code Reviews| 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 BrowserDemuxerAndroid; | 43 class BrowserDemuxerAndroid; |
| 40 class GpuMessageFilter; | 44 class GpuMessageFilter; |
| 41 class MessagePortMessageFilter; | 45 class MessagePortMessageFilter; |
| 42 class MojoApplicationHost; | 46 class MojoApplicationHost; |
| 43 #if defined(ENABLE_WEBRTC) | 47 #if defined(ENABLE_WEBRTC) |
| 44 class P2PSocketDispatcherHost; | 48 class P2PSocketDispatcherHost; |
| 45 #endif | 49 #endif |
| 46 class PeerConnectionTrackerHost; | 50 class PeerConnectionTrackerHost; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 243 | 247 |
| 244 // Call this function to resume the navigation when it was deferred | 248 // Call this function to resume the navigation when it was deferred |
| 245 // immediately after receiving response headers. | 249 // immediately after receiving response headers. |
| 246 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); | 250 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); |
| 247 | 251 |
| 248 protected: | 252 protected: |
| 249 // A proxy for our IPC::Channel that lives on the IO thread (see | 253 // A proxy for our IPC::Channel that lives on the IO thread (see |
| 250 // browser_process.h) | 254 // browser_process.h) |
| 251 scoped_ptr<IPC::ChannelProxy> channel_; | 255 scoped_ptr<IPC::ChannelProxy> channel_; |
| 252 | 256 |
| 257 // A host object ChannelMojo needs. The lifetime is bound to | |
| 258 // RenderProcessHostImpl, not channel. | |
| 259 scoped_ptr<IPC::ChannelMojoHost> channel_host_; | |
|
viettrungluu
2014/09/17 17:33:15
I wonder if you should call this channel_mojo_host
Hajime Morrita
2014/09/17 19:33:48
Done.
| |
| 260 | |
| 253 // True if fast shutdown has been performed on this RPH. | 261 // True if fast shutdown has been performed on this RPH. |
| 254 bool fast_shutdown_started_; | 262 bool fast_shutdown_started_; |
| 255 | 263 |
| 256 // True if we've posted a DeleteTask and will be deleted soon. | 264 // True if we've posted a DeleteTask and will be deleted soon. |
| 257 bool deleting_soon_; | 265 bool deleting_soon_; |
| 258 | 266 |
| 259 #ifndef NDEBUG | 267 #ifndef NDEBUG |
| 260 // True if this object has deleted itself. | 268 // True if this object has deleted itself. |
| 261 bool is_self_deleted_; | 269 bool is_self_deleted_; |
| 262 #endif | 270 #endif |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 432 base::TimeTicks survive_for_worker_start_time_; | 440 base::TimeTicks survive_for_worker_start_time_; |
| 433 | 441 |
| 434 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 442 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 435 | 443 |
| 436 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 444 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 437 }; | 445 }; |
| 438 | 446 |
| 439 } // namespace content | 447 } // namespace content |
| 440 | 448 |
| 441 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 449 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |