X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fnacl%2Fbrowser%2Fnacl_process_host.h;h=2f6af9761d6e5e529eb201e9cb57718d30613b3f;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=a02d772f9dbfc24249c95ae979ddbc85f4afbf93;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/nacl/browser/nacl_process_host.h b/src/components/nacl/browser/nacl_process_host.h index a02d772..2f6af97 100644 --- a/src/components/nacl/browser/nacl_process_host.h +++ b/src/components/nacl/browser/nacl_process_host.h @@ -7,6 +7,7 @@ #include "build/build_config.h" +#include "base/files/file.h" #include "base/files/file_path.h" #include "base/files/file_util_proxy.h" #include "base/memory/ref_counted.h" @@ -17,6 +18,7 @@ #include "content/public/browser/browser_child_process_host_delegate.h" #include "content/public/browser/browser_child_process_host_iterator.h" #include "ipc/ipc_channel_handle.h" +#include "native_client/src/public/nacl_file_info.h" #include "net/socket/socket_descriptor.h" #include "ppapi/shared_impl/ppapi_permissions.h" #include "url/gurl.h" @@ -45,6 +47,8 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { public: // manifest_url: the URL of the manifest of the Native Client plugin being // executed. + // nexe_file: A file that corresponds to the nexe module to be loaded. + // nexe_token: A cache validation token for nexe_file. // 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. @@ -61,6 +65,8 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { // off_the_record: was the process launched from an incognito renderer? // 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, @@ -186,6 +192,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { const IPC::ChannelHandle& manifest_service_channel_handle); GURL manifest_url_; + base::File nexe_file_; + NaClFileToken nexe_token_; + ppapi::PpapiPermissions permissions_; #if defined(OS_WIN)