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

Unified Diff: webkit/chromeos/fileapi/cros_mount_point_provider.h

Issue 10828043: Wire up the deleteFileSystem operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified CrosMountPointProvider too. 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 side-by-side diff with in-line comments
Download patch
Index: webkit/chromeos/fileapi/cros_mount_point_provider.h
diff --git a/webkit/chromeos/fileapi/cros_mount_point_provider.h b/webkit/chromeos/fileapi/cros_mount_point_provider.h
index a904e85058d6b75f90239f0136e4c02d48dd1d00..e6269c12be85d853d0bcad3bd5c1e53af13afcaa 100644
--- a/webkit/chromeos/fileapi/cros_mount_point_provider.h
+++ b/webkit/chromeos/fileapi/cros_mount_point_provider.h
@@ -38,6 +38,8 @@ class CrosMountPointProvider
typedef fileapi::FileSystemMountPointProvider::ValidateFileSystemCallback
ValidateFileSystemCallback;
+ typedef fileapi::FileSystemMountPointProvider::DeleteFileSystemCallback
+ DeleteFileSystemCallback;
tzik 2012/07/28 00:36:46 nit: maybe, we can use "using fileapi::FileSystemM
nhiroki (google) 2012/07/28 02:01:56 Done.
CrosMountPointProvider(
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy);
@@ -67,14 +69,19 @@ class CrosMountPointProvider
const fileapi::FileSystemURL& url,
fileapi::FileSystemContext* context) const OVERRIDE;
virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
- const fileapi::FileSystemURL& path,
- int64 offset,
- fileapi::FileSystemContext* context) const OVERRIDE;
+ const fileapi::FileSystemURL& path,
+ int64 offset,
+ fileapi::FileSystemContext* context) const OVERRIDE;
virtual fileapi::FileStreamWriter* CreateFileStreamWriter(
- const fileapi::FileSystemURL& url,
- int64 offset,
- fileapi::FileSystemContext* context) const OVERRIDE;
+ const fileapi::FileSystemURL& url,
+ int64 offset,
+ fileapi::FileSystemContext* context) const OVERRIDE;
virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
+ virtual void DeleteFileSystem(
+ const GURL& origin_url,
+ fileapi::FileSystemType type,
+ fileapi::FileSystemContext* context,
+ const DeleteFileSystemCallback& callback) const OVERRIDE;
// fileapi::ExternalFileSystemMountPointProvider overrides.
virtual std::vector<FilePath> GetRootDirectories() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698