Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: components/nacl/browser/nacl_host_message_filter.h

Issue 649603004: Non-SFI NaCl: Batch-open resource files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/nacl/browser/nacl_host_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_host_message_filter.h
diff --git a/components/nacl/browser/nacl_host_message_filter.h b/components/nacl/browser/nacl_host_message_filter.h
index 3c7f62552518d981da056f401a6cdaf900588fd1..ec8ece4b12d3d943378de1895834a0415d7cbbd5 100644
--- a/components/nacl/browser/nacl_host_message_filter.h
+++ b/components/nacl/browser/nacl_host_message_filter.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_NACL_BROWSER_NACL_HOST_MESSAGE_FILTER_H_
#define COMPONENTS_NACL_BROWSER_NACL_HOST_MESSAGE_FILTER_H_
+#include <vector>
+
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
@@ -15,6 +17,7 @@ class GURL;
namespace nacl {
struct NaClLaunchParams;
+struct NaClResourceFileInfo;
struct PnaclCacheInfo;
}
@@ -51,9 +54,18 @@ class NaClHostMessageFilter : public content::BrowserMessageFilter {
void OnLaunchNaCl(const NaClLaunchParams& launch_params,
IPC::Message* reply_msg);
- void LaunchNaClContinuation(const nacl::NaClLaunchParams& launch_params,
+ void BatchOpenResourceFiles(const nacl::NaClLaunchParams& launch_params,
IPC::Message* reply_msg,
ppapi::PpapiPermissions permissions);
+ void LaunchNaClContinuation(
+ const nacl::NaClLaunchParams& launch_params,
+ IPC::Message* reply_msg);
+ void LaunchNaClContinuationOnIOThread(
+ const nacl::NaClLaunchParams& launch_params,
+ IPC::Message* reply_msg,
+ const std::vector<
+ nacl::NaClResourceFileInfo>& prefetched_resource_files_info,
+ ppapi::PpapiPermissions permissions);
void OnGetReadonlyPnaclFd(const std::string& filename,
bool is_executable,
IPC::Message* reply_msg);
« no previous file with comments | « no previous file | components/nacl/browser/nacl_host_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698