| 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_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 static BrowserChildProcessList* GetIterator(); | 77 static BrowserChildProcessList* GetIterator(); |
| 78 | 78 |
| 79 // ChildProcessHostDelegate implementation: | 79 // ChildProcessHostDelegate implementation: |
| 80 virtual bool CanShutdown() OVERRIDE; | 80 virtual bool CanShutdown() OVERRIDE; |
| 81 virtual void OnChildDisconnected() OVERRIDE; | 81 virtual void OnChildDisconnected() OVERRIDE; |
| 82 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 82 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 83 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 83 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
| 84 virtual void OnChannelError() OVERRIDE; | 84 virtual void OnChannelError() OVERRIDE; |
| 85 | 85 |
| 86 // ChildProcessLauncher::Client implementation. | 86 // ChildProcessLauncher::Client implementation. |
| 87 virtual void OnProcessLaunched() OVERRIDE; | 87 virtual void OnProcessLaunched( |
| 88 const content::FDInfoList& mapped_files) OVERRIDE; |
| 88 | 89 |
| 89 content::ChildProcessData data_; | 90 content::ChildProcessData data_; |
| 90 content::BrowserChildProcessHostDelegate* delegate_; | 91 content::BrowserChildProcessHostDelegate* delegate_; |
| 91 scoped_ptr<content::ChildProcessHost> child_process_host_; | 92 scoped_ptr<content::ChildProcessHost> child_process_host_; |
| 92 | 93 |
| 93 scoped_ptr<ChildProcessLauncher> child_process_; | 94 scoped_ptr<ChildProcessLauncher> child_process_; |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 97 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |