| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 void SendDisableEventLogToRenderer(); | 368 void SendDisableEventLogToRenderer(); |
| 369 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); | 369 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); |
| 370 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); | 370 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); |
| 371 #endif | 371 #endif |
| 372 | 372 |
| 373 // IPC::Senders which live as long as this RPH and provide safe, opaque | 373 // IPC::Senders which live as long as this RPH and provide safe, opaque |
| 374 // access to ChannelProxy SendNow() and SendOnIOThread() respectively. | 374 // access to ChannelProxy SendNow() and SendOnIOThread() respectively. |
| 375 const std::unique_ptr<SafeSenderProxy> immediate_sender_; | 375 const std::unique_ptr<SafeSenderProxy> immediate_sender_; |
| 376 const std::unique_ptr<SafeSenderProxy> io_thread_sender_; | 376 const std::unique_ptr<SafeSenderProxy> io_thread_sender_; |
| 377 | 377 |
| 378 std::string child_token_; |
| 378 std::unique_ptr<MojoChildConnection> mojo_child_connection_; | 379 std::unique_ptr<MojoChildConnection> mojo_child_connection_; |
| 379 std::unique_ptr<MojoApplicationHost> mojo_application_host_; | 380 std::unique_ptr<MojoApplicationHost> mojo_application_host_; |
| 380 | 381 |
| 381 // The registered IPC listener objects. When this list is empty, we should | 382 // The registered IPC listener objects. When this list is empty, we should |
| 382 // delete ourselves. | 383 // delete ourselves. |
| 383 IDMap<IPC::Listener> listeners_; | 384 IDMap<IPC::Listener> listeners_; |
| 384 | 385 |
| 385 // The count of currently visible widgets. Since the host can be a container | 386 // The count of currently visible widgets. Since the host can be a container |
| 386 // for multiple widgets, it uses this count to determine when it should be | 387 // for multiple widgets, it uses this count to determine when it should be |
| 387 // backgrounded. | 388 // backgrounded. |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 528 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
| 528 | 529 |
| 529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 530 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 530 | 531 |
| 531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 532 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 532 }; | 533 }; |
| 533 | 534 |
| 534 } // namespace content | 535 } // namespace content |
| 535 | 536 |
| 536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 537 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |