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

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

Issue 418423002: Pepper: Stop using SRPC for irt_open_resource(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 3 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 | « no previous file | 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.h" 10 #include "base/files/file.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // we have a connection. 165 // we have a connection.
166 // 166 //
167 // Returns false on failure. 167 // Returns false on failure.
168 bool StartWithLaunchedProcess(); 168 bool StartWithLaunchedProcess();
169 169
170 // Message handlers for validation caching. 170 // Message handlers for validation caching.
171 void OnQueryKnownToValidate(const std::string& signature, bool* result); 171 void OnQueryKnownToValidate(const std::string& signature, bool* result);
172 void OnSetKnownToValidate(const std::string& signature); 172 void OnSetKnownToValidate(const std::string& signature);
173 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi, 173 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi,
174 IPC::Message* reply_msg); 174 IPC::Message* reply_msg);
175 void OnResolveFileTokenAsync(uint64 file_token_lo, uint64 file_token_hi);
175 void FileResolved(const base::FilePath& file_path, 176 void FileResolved(const base::FilePath& file_path,
176 IPC::Message* reply_msg, 177 IPC::Message* reply_msg,
177 base::File file); 178 base::File file);
178 179 void FileResolvedAsync(uint64_t file_token_lo,
180 uint64_t file_token_hi,
181 const base::FilePath& file_path,
182 base::File file);
179 #if defined(OS_WIN) 183 #if defined(OS_WIN)
180 // Message handler for Windows hardware exception handling. 184 // Message handler for Windows hardware exception handling.
181 void OnAttachDebugExceptionHandler(const std::string& info, 185 void OnAttachDebugExceptionHandler(const std::string& info,
182 IPC::Message* reply_msg); 186 IPC::Message* reply_msg);
183 bool AttachDebugExceptionHandler(const std::string& info, 187 bool AttachDebugExceptionHandler(const std::string& info,
184 IPC::Message* reply_msg); 188 IPC::Message* reply_msg);
185 #endif 189 #endif
186 190
187 // Called when the PPAPI IPC channels to the browser/renderer have been 191 // Called when the PPAPI IPC channels to the browser/renderer have been
188 // created. 192 // created.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 base::SharedMemory crash_info_shmem_; 256 base::SharedMemory crash_info_shmem_;
253 257
254 base::WeakPtrFactory<NaClProcessHost> weak_factory_; 258 base::WeakPtrFactory<NaClProcessHost> weak_factory_;
255 259
256 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 260 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
257 }; 261 };
258 262
259 } // namespace nacl 263 } // namespace nacl
260 264
261 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 265 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698