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 CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 GURL manifest_url_; | 161 GURL manifest_url_; |
162 ppapi::PpapiPermissions permissions_; | 162 ppapi::PpapiPermissions permissions_; |
163 | 163 |
164 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
165 // This field becomes true when the broker successfully launched | 165 // This field becomes true when the broker successfully launched |
166 // the NaCl loader. | 166 // the NaCl loader. |
167 bool process_launched_by_broker_; | 167 bool process_launched_by_broker_; |
168 #elif defined(OS_LINUX) | 168 #elif defined(OS_LINUX) |
169 bool wait_for_nacl_gdb_; | 169 bool wait_for_nacl_gdb_; |
170 MessageLoopForIO::FileDescriptorWatcher nacl_gdb_watcher_; | 170 base::MessageLoopForIO::FileDescriptorWatcher nacl_gdb_watcher_; |
171 | 171 |
172 class NaClGdbWatchDelegate; | 172 class NaClGdbWatchDelegate; |
173 scoped_ptr<NaClGdbWatchDelegate> nacl_gdb_watcher_delegate_; | 173 scoped_ptr<NaClGdbWatchDelegate> nacl_gdb_watcher_delegate_; |
174 #endif | 174 #endif |
175 // The ChromeRenderMessageFilter that requested this NaCl process. We use | 175 // The ChromeRenderMessageFilter that requested this NaCl process. We use |
176 // this for sending the reply once the process has started. | 176 // this for sending the reply once the process has started. |
177 scoped_refptr<ChromeRenderMessageFilter> chrome_render_message_filter_; | 177 scoped_refptr<ChromeRenderMessageFilter> chrome_render_message_filter_; |
178 | 178 |
179 // The reply message to send. We must always send this message when the | 179 // The reply message to send. We must always send this message when the |
180 // sub-process either succeeds or fails to unblock the renderer waiting for | 180 // sub-process either succeeds or fails to unblock the renderer waiting for |
(...skipping 30 matching lines...) Expand all Loading... |
211 PluginListener ipc_plugin_listener_; | 211 PluginListener ipc_plugin_listener_; |
212 // Browser host for plugin process. | 212 // Browser host for plugin process. |
213 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; | 213 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; |
214 | 214 |
215 int render_view_id_; | 215 int render_view_id_; |
216 | 216 |
217 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 217 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
218 }; | 218 }; |
219 | 219 |
220 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 220 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
OLD | NEW |