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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 GURL manifest_url_; | 119 GURL manifest_url_; |
120 | 120 |
121 #if defined(OS_WIN) | 121 #if defined(OS_WIN) |
122 // This field becomes true when the broker successfully launched | 122 // This field becomes true when the broker successfully launched |
123 // the NaCl loader. | 123 // the NaCl loader. |
124 bool process_launched_by_broker_; | 124 bool process_launched_by_broker_; |
125 #elif defined(OS_LINUX) | 125 #elif defined(OS_LINUX) |
126 bool wait_for_nacl_gdb_; | 126 bool wait_for_nacl_gdb_; |
127 MessageLoopForIO::FileDescriptorWatcher nacl_gdb_watcher_; | 127 MessageLoopForIO::FileDescriptorWatcher nacl_gdb_watcher_; |
128 scoped_ptr<MessageLoopForIO::Watcher> nacl_gdb_watcher_delegate_; | 128 |
| 129 class NaClGdbWatchDelegate; |
| 130 scoped_ptr<NaClGdbWatchDelegate> nacl_gdb_watcher_delegate_; |
129 #endif | 131 #endif |
130 // The ChromeRenderMessageFilter that requested this NaCl process. We use | 132 // The ChromeRenderMessageFilter that requested this NaCl process. We use |
131 // this for sending the reply once the process has started. | 133 // this for sending the reply once the process has started. |
132 scoped_refptr<ChromeRenderMessageFilter> chrome_render_message_filter_; | 134 scoped_refptr<ChromeRenderMessageFilter> chrome_render_message_filter_; |
133 | 135 |
134 // The reply message to send. We must always send this message when the | 136 // The reply message to send. We must always send this message when the |
135 // sub-process either succeeds or fails to unblock the renderer waiting for | 137 // sub-process either succeeds or fails to unblock the renderer waiting for |
136 // the reply. NULL when there is no reply to send. | 138 // the reply. NULL when there is no reply to send. |
137 IPC::Message* reply_msg_; | 139 IPC::Message* reply_msg_; |
138 #if defined(OS_WIN) | 140 #if defined(OS_WIN) |
(...skipping 15 matching lines...) Expand all Loading... |
154 bool enable_exception_handling_; | 156 bool enable_exception_handling_; |
155 | 157 |
156 bool off_the_record_; | 158 bool off_the_record_; |
157 | 159 |
158 bool enable_ipc_proxy_; | 160 bool enable_ipc_proxy_; |
159 | 161 |
160 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 162 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
161 }; | 163 }; |
162 | 164 |
163 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ | 165 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ |
OLD | NEW |