| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 void SendAecDumpFileToRenderer(int id, | 350 void SendAecDumpFileToRenderer(int id, |
| 351 IPC::PlatformFileForTransit file_for_transit); | 351 IPC::PlatformFileForTransit file_for_transit); |
| 352 void SendEventLogFileToRenderer(int id, | 352 void SendEventLogFileToRenderer(int id, |
| 353 IPC::PlatformFileForTransit file_for_transit); | 353 IPC::PlatformFileForTransit file_for_transit); |
| 354 void SendDisableAecDumpToRenderer(); | 354 void SendDisableAecDumpToRenderer(); |
| 355 void SendDisableEventLogToRenderer(); | 355 void SendDisableEventLogToRenderer(); |
| 356 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); | 356 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); |
| 357 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); | 357 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); |
| 358 #endif | 358 #endif |
| 359 | 359 |
| 360 // The token to be passed to the child process and exchanged for a message | |
| 361 // pipe to the shell. | |
| 362 std::string shell_pipe_token_; | |
| 363 | |
| 364 scoped_ptr<MojoApplicationHost> mojo_application_host_; | 360 scoped_ptr<MojoApplicationHost> mojo_application_host_; |
| 365 | 361 |
| 366 // The registered IPC listener objects. When this list is empty, we should | 362 // The registered IPC listener objects. When this list is empty, we should |
| 367 // delete ourselves. | 363 // delete ourselves. |
| 368 IDMap<IPC::Listener> listeners_; | 364 IDMap<IPC::Listener> listeners_; |
| 369 | 365 |
| 370 // The count of currently visible widgets. Since the host can be a container | 366 // The count of currently visible widgets. Since the host can be a container |
| 371 // for multiple widgets, it uses this count to determine when it should be | 367 // for multiple widgets, it uses this count to determine when it should be |
| 372 // backgrounded. | 368 // backgrounded. |
| 373 int32_t visible_widgets_; | 369 int32_t visible_widgets_; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 #endif | 523 #endif |
| 528 | 524 |
| 529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 525 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 530 | 526 |
| 531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 527 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 532 }; | 528 }; |
| 533 | 529 |
| 534 } // namespace content | 530 } // namespace content |
| 535 | 531 |
| 536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 532 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |