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