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_FILE_HOST_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_ |
6 #define COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_ | 6 #define COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 // Return true if the filename requested is valid for opening. | 39 // Return true if the filename requested is valid for opening. |
40 // Sets file_to_open to the base::FilePath which we will attempt to open. | 40 // Sets file_to_open to the base::FilePath which we will attempt to open. |
41 bool PnaclCanOpenFile(const std::string& filename, | 41 bool PnaclCanOpenFile(const std::string& filename, |
42 base::FilePath* file_to_open); | 42 base::FilePath* file_to_open); |
43 | 43 |
44 // Opens a NaCl executable file for reading and executing. | 44 // Opens a NaCl executable file for reading and executing. |
45 void OpenNaClExecutable( | 45 void OpenNaClExecutable( |
46 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, | 46 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, |
47 int render_view_id, | 47 int render_view_id, |
48 const GURL& file_url, | 48 const GURL& file_url, |
| 49 bool enable_validation_caching, |
49 IPC::Message* reply_msg); | 50 IPC::Message* reply_msg); |
50 | 51 |
51 } // namespace nacl_file_host | 52 } // namespace nacl_file_host |
52 | 53 |
53 #endif // COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_ | 54 #endif // COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_ |
OLD | NEW |