Index: components/nacl/browser/nacl_process_host.h |
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h |
index f7693ea067a99e4641985ce296ebb7027d3aa978..324db114e0201e94ac9686688618cc961a3c83b4 100644 |
--- a/components/nacl/browser/nacl_process_host.h |
+++ b/components/nacl/browser/nacl_process_host.h |
@@ -7,6 +7,8 @@ |
#include "build/build_config.h" |
+#include <vector> |
+ |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util_proxy.h" |
@@ -60,6 +62,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
// executed. |
// nexe_file: A file that corresponds to the nexe module to be loaded. |
// nexe_token: A cache validation token for nexe_file. |
+ // prefetched_resource_files_info: An array of resource files prefetched. |
// permissions: PPAPI permissions, to control access to private APIs. |
// render_view_id: RenderView routing id, to control access to private APIs. |
// permission_bits: controls which interfaces the NaCl plugin can use. |
@@ -67,16 +70,19 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
// off_the_record: was the process launched from an incognito renderer? |
// process_type: the type of NaCl process. |
// profile_directory: is the path of current profile directory. |
- NaClProcessHost(const GURL& manifest_url, |
- base::File nexe_file, |
- const NaClFileToken& nexe_token, |
- ppapi::PpapiPermissions permissions, |
- int render_view_id, |
- uint32 permission_bits, |
- bool uses_nonsfi_mode, |
- bool off_the_record, |
- NaClAppProcessType process_type, |
- const base::FilePath& profile_directory); |
+ NaClProcessHost( |
+ const GURL& manifest_url, |
+ base::File nexe_file, |
+ const NaClFileToken& nexe_token, |
+ const std::vector< |
+ nacl::NaClResourceFileInfo>& prefetched_resource_files_info, |
+ ppapi::PpapiPermissions permissions, |
+ int render_view_id, |
+ uint32 permission_bits, |
+ bool uses_nonsfi_mode, |
+ bool off_the_record, |
+ NaClAppProcessType process_type, |
+ const base::FilePath& profile_directory); |
~NaClProcessHost() override; |
void OnProcessCrashed(int exit_status) override; |
@@ -192,6 +198,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
GURL manifest_url_; |
base::File nexe_file_; |
NaClFileToken nexe_token_; |
+ std::vector<nacl::NaClResourceFileInfo> prefetched_resource_files_info_; |
ppapi::PpapiPermissions permissions_; |