summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/file_system_operation.h
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 17:11:11 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-05 17:11:11 +0000
commitf3cd7ed06b2f519c2cfedba22d0becb90cba1f81 (patch)
tree6703d7772a378b120f0e87e6732e8b9b482d62f6 /webkit/browser/fileapi/file_system_operation.h
parent03385581888c87d940e2b66a4d0ee56f173f65e3 (diff)
downloadchromium_src-f3cd7ed06b2f519c2cfedba22d0becb90cba1f81.zip
chromium_src-f3cd7ed06b2f519c2cfedba22d0becb90cba1f81.tar.gz
chromium_src-f3cd7ed06b2f519c2cfedba22d0becb90cba1f81.tar.bz2
Revert 232547 "Pepper: Move FileIO host from renderer to browser."
This change is being reverted due to some problems seen in integration testing. See http://crbug.com/314884 for test failure details. > Pepper: Move FileIO host from renderer to browser. > > This change is large because it moves QuotaFileIO and PepperFileIOHost all at > once to the browser process. Some code in the refactored PepperFileIOHost is > moved from what's provided in FileAPIMessageFilter. > > Tested locally with Bastion, From Dust, and Angry Bots. > > TBR=jschuh > BUG=246396 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232440 > > Review URL: https://codereview.chromium.org/33053002 TBR=teravest@chromium.org BUG=246396,314884 Review URL: https://codereview.chromium.org/60323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/file_system_operation.h')
-rw-r--r--webkit/browser/fileapi/file_system_operation.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/browser/fileapi/file_system_operation.h b/webkit/browser/fileapi/file_system_operation.h
index ded87f7..8ff6956 100644
--- a/webkit/browser/fileapi/file_system_operation.h
+++ b/webkit/browser/fileapi/file_system_operation.h
@@ -80,7 +80,8 @@ class FileSystemOperation {
typedef base::Callback<
void(base::PlatformFileError result,
base::PlatformFile file,
- const base::Closure& on_close_callback)> OpenFileCallback;
+ const base::Closure& on_close_callback,
+ base::ProcessHandle peer_handle)> OpenFileCallback;
// Used for ReadDirectoryCallback.
typedef std::vector<DirectoryEntry> FileEntryList;
@@ -354,9 +355,13 @@ class FileSystemOperation {
// Opens a file at |path| with |file_flags|, where flags are OR'ed
// values of base::PlatformFileFlags.
//
+ // |peer_handle| is the process handle of a pepper plugin process, which
+ // is necessary for underlying IPC calls with Pepper plugins.
+ //
// This function is used only by Pepper as of writing.
virtual void OpenFile(const FileSystemURL& path,
int file_flags,
+ base::ProcessHandle peer_handle,
const OpenFileCallback& callback) = 0;
// Creates a local snapshot file for a given |path| and returns the