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

Side by Side Diff: components/nacl/browser/nacl_process_host.h

Issue 56833003: Use base::PostTaskAndReplyWithResults() in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix clang error Created 7 years 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 | « components/nacl/browser/nacl_file_host.cc ('k') | components/nacl/browser/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 COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 6 #define COMPONENTS_NACL_BROWSER_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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // we have a connection. 157 // we have a connection.
158 // 158 //
159 // Returns false on failure. 159 // Returns false on failure.
160 bool StartWithLaunchedProcess(); 160 bool StartWithLaunchedProcess();
161 161
162 // Message handlers for validation caching. 162 // Message handlers for validation caching.
163 void OnQueryKnownToValidate(const std::string& signature, bool* result); 163 void OnQueryKnownToValidate(const std::string& signature, bool* result);
164 void OnSetKnownToValidate(const std::string& signature); 164 void OnSetKnownToValidate(const std::string& signature);
165 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi, 165 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi,
166 IPC::Message* reply_msg); 166 IPC::Message* reply_msg);
167 void FileResolved(base::PlatformFile* file, const base::FilePath& file_path, 167 void FileResolved(const base::FilePath& file_path,
168 IPC::Message* reply_msg); 168 IPC::Message* reply_msg,
169 const base::PlatformFile& file);
169 170
170 #if defined(OS_WIN) 171 #if defined(OS_WIN)
171 // Message handler for Windows hardware exception handling. 172 // Message handler for Windows hardware exception handling.
172 void OnAttachDebugExceptionHandler(const std::string& info, 173 void OnAttachDebugExceptionHandler(const std::string& info,
173 IPC::Message* reply_msg); 174 IPC::Message* reply_msg);
174 bool AttachDebugExceptionHandler(const std::string& info, 175 bool AttachDebugExceptionHandler(const std::string& info,
175 IPC::Message* reply_msg); 176 IPC::Message* reply_msg);
176 #endif 177 #endif
177 178
178 // Called when a PPAPI IPC channel has been created. 179 // Called when a PPAPI IPC channel has been created.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; 233 scoped_ptr<content::BrowserPpapiHost> ppapi_host_;
233 234
234 int render_view_id_; 235 int render_view_id_;
235 236
236 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 237 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
237 }; 238 };
238 239
239 } // namespace nacl 240 } // namespace nacl
240 241
241 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 242 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_file_host.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698