| 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 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |