summaryrefslogtreecommitdiffstats
path: root/webkit/chromeos
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 06:27:30 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 06:27:30 +0000
commit47373873c4b68d6f2c200a758c132a04176b8a84 (patch)
tree6d2fff99f4f325f03255140febf65069e1676c63 /webkit/chromeos
parenta8e89d74952095d574aa1d4d484d44fb379c058a (diff)
downloadchromium_src-47373873c4b68d6f2c200a758c132a04176b8a84.zip
chromium_src-47373873c4b68d6f2c200a758c132a04176b8a84.tar.gz
chromium_src-47373873c4b68d6f2c200a758c132a04176b8a84.tar.bz2
(2nd try) Adding CreateSnapshotFile interface to FileSystemOperationInterface
Added RemoteFileSystemOperation impl (with NOTIMPLEMENTED()) to http://codereview.chromium.org/9462005/ BUG=115603 TEST=FileSystemOperationTest.TestCreateSnapshotFile TBR=michaeln Review URL: https://chromiumcodereview.appspot.com/9474037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123924 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/chromeos')
-rw-r--r--webkit/chromeos/fileapi/remote_file_system_operation.cc6
-rw-r--r--webkit/chromeos/fileapi/remote_file_system_operation.h4
2 files changed, 9 insertions, 1 deletions
diff --git a/webkit/chromeos/fileapi/remote_file_system_operation.cc b/webkit/chromeos/fileapi/remote_file_system_operation.cc
index 3db3915..24f894e 100644
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc
@@ -121,6 +121,12 @@ RemoteFileSystemOperation::AsFileSystemOperation() {
return NULL;
}
+void RemoteFileSystemOperation::CreateSnapshotFile(
+ const GURL& path,
+ const SnapshotFileCallback& callback) {
+ NOTIMPLEMENTED();
+}
+
bool RemoteFileSystemOperation::SetPendingOperationType(OperationType type) {
if (pending_operation_ != kOperationNone)
return false;
diff --git a/webkit/chromeos/fileapi/remote_file_system_operation.h b/webkit/chromeos/fileapi/remote_file_system_operation.h
index 0cf542f..39677ff 100644
--- a/webkit/chromeos/fileapi/remote_file_system_operation.h
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.h
@@ -64,8 +64,10 @@ class RemoteFileSystemOperation : public fileapi::FileSystemOperationInterface {
int file_flags,
base::ProcessHandle peer_handle,
const OpenFileCallback& callback) OVERRIDE;
-
virtual fileapi::FileSystemOperation* AsFileSystemOperation() OVERRIDE;
+ virtual void CreateSnapshotFile(
+ const GURL& path,
+ const SnapshotFileCallback& callback) OVERRIDE;
private:
friend class CrosMountPointProvider;