| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 void SendAecDumpFileToRenderer(int id, | 344 void SendAecDumpFileToRenderer(int id, |
| 345 IPC::PlatformFileForTransit file_for_transit); | 345 IPC::PlatformFileForTransit file_for_transit); |
| 346 void SendEventLogFileToRenderer(int id, | 346 void SendEventLogFileToRenderer(int id, |
| 347 IPC::PlatformFileForTransit file_for_transit); | 347 IPC::PlatformFileForTransit file_for_transit); |
| 348 void SendDisableAecDumpToRenderer(); | 348 void SendDisableAecDumpToRenderer(); |
| 349 void SendDisableEventLogToRenderer(); | 349 void SendDisableEventLogToRenderer(); |
| 350 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); | 350 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); |
| 351 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); | 351 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); |
| 352 #endif | 352 #endif |
| 353 | 353 |
| 354 // The token to be passed to the child process and exchanged for a message |
| 355 // pipe to the shell. |
| 356 std::string shell_pipe_token_; |
| 357 |
| 354 scoped_ptr<MojoApplicationHost> mojo_application_host_; | 358 scoped_ptr<MojoApplicationHost> mojo_application_host_; |
| 355 | 359 |
| 356 // The registered IPC listener objects. When this list is empty, we should | 360 // The registered IPC listener objects. When this list is empty, we should |
| 357 // delete ourselves. | 361 // delete ourselves. |
| 358 IDMap<IPC::Listener> listeners_; | 362 IDMap<IPC::Listener> listeners_; |
| 359 | 363 |
| 360 // The count of currently visible widgets. Since the host can be a container | 364 // The count of currently visible widgets. Since the host can be a container |
| 361 // for multiple widgets, it uses this count to determine when it should be | 365 // for multiple widgets, it uses this count to determine when it should be |
| 362 // backgrounded. | 366 // backgrounded. |
| 363 int32_t visible_widgets_; | 367 int32_t visible_widgets_; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 #endif | 516 #endif |
| 513 | 517 |
| 514 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 518 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 515 | 519 |
| 516 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 520 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 517 }; | 521 }; |
| 518 | 522 |
| 519 } // namespace content | 523 } // namespace content |
| 520 | 524 |
| 521 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 525 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |