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

Unified Diff: webkit/fileapi/file_system_mount_point_provider.h

Issue 10386069: Add RegisterMountPointProvider and TestMountPointProvider for testing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding sandbox_mpp change Created 8 years, 7 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/fileapi/file_system_mount_point_provider.h
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h
index ebce1de6bb963739169ff47bd681524cd117ddd5..af3ba14df47eada1182987e1127a19fab6ebba10 100644
--- a/webkit/fileapi/file_system_mount_point_provider.h
+++ b/webkit/fileapi/file_system_mount_point_provider.h
@@ -24,6 +24,7 @@ namespace fileapi {
class FileSystemContext;
class FileSystemFileUtil;
+class FileSystemQuotaUtil;
class FileSystemOperationInterface;
class RemoteFileSystemProxyInterface;
@@ -99,6 +100,10 @@ class FileSystemMountPointProvider {
const GURL& url,
int64 offset,
FileSystemContext* context) const = 0;
+
+ // Returns the specialized FileSystemQuotaUtil for this mount point.
+ // This could return NULL if this mount point does not support quota.
+ virtual FileSystemQuotaUtil* GetQuotaUtil() { return NULL; }
};
// An interface to control external file system access permissions.

Powered by Google App Engine
This is Rietveld 408576698