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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // Returns false on failure. | 146 // Returns false on failure. |
147 bool StartWithLaunchedProcess(); | 147 bool StartWithLaunchedProcess(); |
148 | 148 |
149 // Message handlers for validation caching. | 149 // Message handlers for validation caching. |
150 void OnQueryKnownToValidate(const std::string& signature, bool* result); | 150 void OnQueryKnownToValidate(const std::string& signature, bool* result); |
151 void OnSetKnownToValidate(const std::string& signature); | 151 void OnSetKnownToValidate(const std::string& signature); |
152 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi, | 152 void OnResolveFileToken(uint64 file_token_lo, uint64 file_token_hi, |
153 IPC::Message* reply_msg); | 153 IPC::Message* reply_msg); |
154 void FileResolved(const base::FilePath& file_path, | 154 void FileResolved(const base::FilePath& file_path, |
155 IPC::Message* reply_msg, | 155 IPC::Message* reply_msg, |
156 const base::PlatformFile& file); | 156 base::File file); |
157 | 157 |
158 #if defined(OS_WIN) | 158 #if defined(OS_WIN) |
159 // Message handler for Windows hardware exception handling. | 159 // Message handler for Windows hardware exception handling. |
160 void OnAttachDebugExceptionHandler(const std::string& info, | 160 void OnAttachDebugExceptionHandler(const std::string& info, |
161 IPC::Message* reply_msg); | 161 IPC::Message* reply_msg); |
162 bool AttachDebugExceptionHandler(const std::string& info, | 162 bool AttachDebugExceptionHandler(const std::string& info, |
163 IPC::Message* reply_msg); | 163 IPC::Message* reply_msg); |
164 #endif | 164 #endif |
165 | 165 |
166 // Called when the PPAPI IPC channels to the browser/renderer have been | 166 // Called when the PPAPI IPC channels to the browser/renderer have been |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; | 218 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; |
219 | 219 |
220 int render_view_id_; | 220 int render_view_id_; |
221 | 221 |
222 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 222 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
223 }; | 223 }; |
224 | 224 |
225 } // namespace nacl | 225 } // namespace nacl |
226 | 226 |
227 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ | 227 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ |
OLD | NEW |