diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 19:32:57 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 19:32:57 +0000 |
commit | f2f6418e83b6008902554c0073f070f7c5e1e1d7 (patch) | |
tree | ad3fecd189aeb9170340083485093bd8ce570e6f /webkit/browser/fileapi/file_system_operation.h | |
parent | 939c7b6ce5e3c7646081794739eeb163bf7d56ee (diff) | |
download | chromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.zip chromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.tar.gz chromium_src-f2f6418e83b6008902554c0073f070f7c5e1e1d7.tar.bz2 |
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
Review URL: https://codereview.chromium.org/33053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/file_system_operation.h')
-rw-r--r-- | webkit/browser/fileapi/file_system_operation.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/webkit/browser/fileapi/file_system_operation.h b/webkit/browser/fileapi/file_system_operation.h index 8ff6956..ded87f7 100644 --- a/webkit/browser/fileapi/file_system_operation.h +++ b/webkit/browser/fileapi/file_system_operation.h @@ -80,8 +80,7 @@ class FileSystemOperation { typedef base::Callback< void(base::PlatformFileError result, base::PlatformFile file, - const base::Closure& on_close_callback, - base::ProcessHandle peer_handle)> OpenFileCallback; + const base::Closure& on_close_callback)> OpenFileCallback; // Used for ReadDirectoryCallback. typedef std::vector<DirectoryEntry> FileEntryList; @@ -355,13 +354,9 @@ 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 |