Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_browser.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698