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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 private: | 294 private: |
295 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; | 295 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; |
296 friend class VisitRelayingRenderProcessHost; | 296 friend class VisitRelayingRenderProcessHost; |
297 | 297 |
298 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( | 298 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( |
299 const std::string& channel_id); | 299 const std::string& channel_id); |
300 | 300 |
301 // Creates and adds the IO thread message filters. | 301 // Creates and adds the IO thread message filters. |
302 void CreateMessageFilters(); | 302 void CreateMessageFilters(); |
303 | 303 |
304 // Registers Mojo services to be exposed to the renderer. | 304 // Registers Mojo interfaces to be exposed to the renderer. |
305 void RegisterMojoServices(); | 305 void RegisterMojoInterfaces(); |
306 | 306 |
307 void CreateStoragePartitionService( | 307 void CreateStoragePartitionService( |
308 mojo::InterfaceRequest<mojom::StoragePartitionService> request); | 308 mojo::InterfaceRequest<mojom::StoragePartitionService> request); |
309 | 309 |
310 // Control message handlers. | 310 // Control message handlers. |
311 void OnShutdownRequest(); | 311 void OnShutdownRequest(); |
312 void SuddenTerminationChanged(bool enabled); | 312 void SuddenTerminationChanged(bool enabled); |
313 void OnUserMetricsRecordAction(const std::string& action); | 313 void OnUserMetricsRecordAction(const std::string& action); |
314 void OnCloseACK(int old_route_id); | 314 void OnCloseACK(int old_route_id); |
315 | 315 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 522 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
523 | 523 |
524 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 524 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
525 | 525 |
526 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 526 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
527 }; | 527 }; |
528 | 528 |
529 } // namespace content | 529 } // namespace content |
530 | 530 |
531 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 531 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |