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

Side by Side Diff: webkit/chromeos/fileapi/remote_file_system_operation.h

Issue 10541113: Notify CloseFile from Pepper to FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
7 7
8 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" 8 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h"
9 #include "webkit/fileapi/file_system_operation_interface.h" 9 #include "webkit/fileapi/file_system_operation_interface.h"
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; 58 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE;
59 virtual void TouchFile(const fileapi::FileSystemURL& url, 59 virtual void TouchFile(const fileapi::FileSystemURL& url,
60 const base::Time& last_access_time, 60 const base::Time& last_access_time,
61 const base::Time& last_modified_time, 61 const base::Time& last_modified_time,
62 const StatusCallback& callback) OVERRIDE; 62 const StatusCallback& callback) OVERRIDE;
63 virtual void OpenFile( 63 virtual void OpenFile(
64 const fileapi::FileSystemURL& url, 64 const fileapi::FileSystemURL& url,
65 int file_flags, 65 int file_flags,
66 base::ProcessHandle peer_handle, 66 base::ProcessHandle peer_handle,
67 const OpenFileCallback& callback) OVERRIDE; 67 const OpenFileCallback& callback) OVERRIDE;
68 virtual void NotifyCloseFile(const fileapi::FileSystemURL& url) OVERRIDE;
68 virtual fileapi::FileSystemOperation* AsFileSystemOperation() OVERRIDE; 69 virtual fileapi::FileSystemOperation* AsFileSystemOperation() OVERRIDE;
69 virtual void CreateSnapshotFile( 70 virtual void CreateSnapshotFile(
70 const fileapi::FileSystemURL& url, 71 const fileapi::FileSystemURL& url,
71 const SnapshotFileCallback& callback) OVERRIDE; 72 const SnapshotFileCallback& callback) OVERRIDE;
72 73
73 private: 74 private:
74 friend class CrosMountPointProvider; 75 friend class CrosMountPointProvider;
75 76
76 RemoteFileSystemOperation( 77 RemoteFileSystemOperation(
77 scoped_refptr<fileapi::RemoteFileSystemProxyInterface> remote_proxy); 78 scoped_refptr<fileapi::RemoteFileSystemProxyInterface> remote_proxy);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // A flag to make sure we call operation only once per instance. 122 // A flag to make sure we call operation only once per instance.
122 OperationType pending_operation_; 123 OperationType pending_operation_;
123 scoped_ptr<fileapi::FileWriterDelegate> file_writer_delegate_; 124 scoped_ptr<fileapi::FileWriterDelegate> file_writer_delegate_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); 126 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation);
126 }; 127 };
127 128
128 } // namespace chromeos 129 } // namespace chromeos
129 130
130 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ 131 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | webkit/chromeos/fileapi/remote_file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698