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

Unified Diff: trunk/src/webkit/browser/fileapi/file_system_operation_impl.h

Issue 60323002: Revert 232547 "Pepper: Move FileIO host from renderer to browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/webkit/browser/fileapi/file_system_operation_impl.h
===================================================================
--- trunk/src/webkit/browser/fileapi/file_system_operation_impl.h (revision 233010)
+++ trunk/src/webkit/browser/fileapi/file_system_operation_impl.h (working copy)
@@ -69,6 +69,7 @@
const StatusCallback& callback) OVERRIDE;
virtual void OpenFile(const FileSystemURL& url,
int file_flags,
+ base::ProcessHandle peer_handle,
const OpenFileCallback& callback) OVERRIDE;
virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE;
virtual void CreateSnapshotFile(
@@ -194,6 +195,10 @@
StatusCallback cancel_callback_;
+ // Used only by OpenFile, in order to clone the file handle back to the
+ // requesting process.
+ base::ProcessHandle peer_handle_;
+
// A flag to make sure we call operation only once per instance.
OperationType pending_operation_;

Powered by Google App Engine
This is Rietveld 408576698