| 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 |
| 360 scoped_ptr<MojoApplicationHost> mojo_application_host_; | 364 scoped_ptr<MojoApplicationHost> mojo_application_host_; |
| 361 | 365 |
| 362 // The registered IPC listener objects. When this list is empty, we should | 366 // The registered IPC listener objects. When this list is empty, we should |
| 363 // delete ourselves. | 367 // delete ourselves. |
| 364 IDMap<IPC::Listener> listeners_; | 368 IDMap<IPC::Listener> listeners_; |
| 365 | 369 |
| 366 // The count of currently visible widgets. Since the host can be a container | 370 // The count of currently visible widgets. Since the host can be a container |
| 367 // for multiple widgets, it uses this count to determine when it should be | 371 // for multiple widgets, it uses this count to determine when it should be |
| 368 // backgrounded. | 372 // backgrounded. |
| 369 int32_t visible_widgets_; | 373 int32_t visible_widgets_; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 #endif | 527 #endif |
| 524 | 528 |
| 525 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 526 | 530 |
| 527 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 528 }; | 532 }; |
| 529 | 533 |
| 530 } // namespace content | 534 } // namespace content |
| 531 | 535 |
| 532 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |