| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 #endif | 286 #endif |
| 287 | 287 |
| 288 // The count of currently swapped out but pending RenderViews. We have | 288 // The count of currently swapped out but pending RenderViews. We have |
| 289 // started to swap these in, so the renderer process should not exit if | 289 // started to swap these in, so the renderer process should not exit if |
| 290 // this count is non-zero. | 290 // this count is non-zero. |
| 291 int32_t pending_views_; | 291 int32_t pending_views_; |
| 292 | 292 |
| 293 private: | 293 private: |
| 294 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; | 294 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; |
| 295 friend class VisitRelayingRenderProcessHost; | 295 friend class VisitRelayingRenderProcessHost; |
| 296 class ConnectionFilterImpl; |
| 296 | 297 |
| 297 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( | 298 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( |
| 298 const std::string& channel_id); | 299 const std::string& channel_id); |
| 299 | 300 |
| 300 // Creates and adds the IO thread message filters. | 301 // Creates and adds the IO thread message filters. |
| 301 void CreateMessageFilters(); | 302 void CreateMessageFilters(); |
| 302 | 303 |
| 303 // Registers Mojo interfaces to be exposed to the renderer. | 304 // Registers Mojo interfaces to be exposed to the renderer. |
| 304 void RegisterMojoInterfaces(); | 305 void RegisterMojoInterfaces(); |
| 305 | 306 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 520 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
| 520 | 521 |
| 521 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 522 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 522 | 523 |
| 523 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 524 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 524 }; | 525 }; |
| 525 | 526 |
| 526 } // namespace content | 527 } // namespace content |
| 527 | 528 |
| 528 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 529 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |