| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 #endif | 295 #endif |
| 296 | 296 |
| 297 // The count of currently swapped out but pending RenderViews. We have | 297 // The count of currently swapped out but pending RenderViews. We have |
| 298 // started to swap these in, so the renderer process should not exit if | 298 // started to swap these in, so the renderer process should not exit if |
| 299 // this count is non-zero. | 299 // this count is non-zero. |
| 300 int32 pending_views_; | 300 int32 pending_views_; |
| 301 | 301 |
| 302 private: | 302 private: |
| 303 friend class VisitRelayingRenderProcessHost; | 303 friend class VisitRelayingRenderProcessHost; |
| 304 | 304 |
| 305 bool ShouldUseMojoChannel() const; | |
| 306 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( | 305 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( |
| 307 const std::string& channel_id); | 306 const std::string& channel_id); |
| 308 | 307 |
| 309 // Creates and adds the IO thread message filters. | 308 // Creates and adds the IO thread message filters. |
| 310 void CreateMessageFilters(); | 309 void CreateMessageFilters(); |
| 311 | 310 |
| 312 // Registers Mojo services to be exposed to the renderer. | 311 // Registers Mojo services to be exposed to the renderer. |
| 313 void RegisterMojoServices(); | 312 void RegisterMojoServices(); |
| 314 | 313 |
| 315 // Control message handlers. | 314 // Control message handlers. |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 bool subscribe_uniform_enabled_; | 501 bool subscribe_uniform_enabled_; |
| 503 | 502 |
| 504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 505 | 504 |
| 506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 507 }; | 506 }; |
| 508 | 507 |
| 509 } // namespace content | 508 } // namespace content |
| 510 | 509 |
| 511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |