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

Unified Diff: webkit/chromeos/fileapi/remote_file_system_operation.cc

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added renderer-close check. Created 8 years, 6 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
Index: webkit/chromeos/fileapi/remote_file_system_operation.cc
diff --git a/webkit/chromeos/fileapi/remote_file_system_operation.cc b/webkit/chromeos/fileapi/remote_file_system_operation.cc
index 29826078f070859b70420e67a4315ca4f7f672e8..d9796cfadf6d11b3373cb1eb70dcfcd7ecf8e17f 100644
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc
@@ -170,6 +170,11 @@ void RemoteFileSystemOperation::OpenFile(const GURL& path,
base::Owned(this), callback));
}
+void RemoteFileSystemOperation::NotifyCloseFile(const GURL& path) {
+ DCHECK(SetPendingOperationType(kOperationCloseFile));
+ remote_proxy_->NotifyCloseFile(path);
kinuko 2012/06/25 11:46:54 Who should delete this operation in this case?
kinaba 2012/06/26 00:15:10 The operation itself. Added delete this.
+}
+
fileapi::FileSystemOperation*
RemoteFileSystemOperation::AsFileSystemOperation() {
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698