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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 bool is_self_deleted_; | 294 bool is_self_deleted_; |
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 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; |
304 | 305 |
305 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( | 306 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( |
306 const std::string& channel_id); | 307 const std::string& channel_id); |
307 | 308 |
308 // Creates and adds the IO thread message filters. | 309 // Creates and adds the IO thread message filters. |
309 void CreateMessageFilters(); | 310 void CreateMessageFilters(); |
310 | 311 |
311 // Registers Mojo services to be exposed to the renderer. | 312 // Registers Mojo services to be exposed to the renderer. |
312 void RegisterMojoServices(); | 313 void RegisterMojoServices(); |
313 | 314 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 bool subscribe_uniform_enabled_; | 502 bool subscribe_uniform_enabled_; |
502 | 503 |
503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
504 | 505 |
505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
506 }; | 507 }; |
507 | 508 |
508 } // namespace content | 509 } // namespace content |
509 | 510 |
510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |