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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h
diff --git a/chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h b/chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h
index 4ee958df98219e9af59f0ab76dc8fe95ccc50de0..a071227b4b0d001e94e057f786510931ff9d7112 100644
--- a/chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h
+++ b/chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h
@@ -48,7 +48,8 @@ class PepperIsolatedFileSystemMessageFilter
PepperIsolatedFileSystemMessageFilter(
int render_process_id,
const base::FilePath& profile_directory,
- const GURL& document_url);
+ const GURL& document_url,
+ ppapi::host::PpapiHost* ppapi_host_);
virtual ~PepperIsolatedFileSystemMessageFilter();
@@ -62,11 +63,15 @@ class PepperIsolatedFileSystemMessageFilter
int32_t OnOpenFileSystem(ppapi::host::HostMessageContext* context,
PP_IsolatedFileSystemType_Private type);
int32_t OpenCrxFileSystem(ppapi::host::HostMessageContext* context);
+ int32_t OpenPluginPrivateFileSystem(ppapi::host::HostMessageContext* context);
const int render_process_id_;
const base::FilePath& profile_directory_;
const GURL document_url_;
+ // Not owned by this object.
+ ppapi::host::PpapiHost* ppapi_host_;
+
// Set of origins that can use CrxFs private APIs from NaCl.
std::set<std::string> allowed_crxfs_origins_;
« no previous file with comments | « no previous file | chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698