summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/file_system_quota_util.h
diff options
context:
space:
mode:
authorpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-22 19:58:31 +0000
committerpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-22 20:01:57 +0000
commitcd501a7565dd6054a120fbfe62d45b2299cfcc3b (patch)
treeefe35c31d00f40b2fa9e6dbafd5f9f694f47367e /webkit/browser/fileapi/file_system_quota_util.h
parent604e202d3548b701900c3771f9517103bb91486c (diff)
downloadchromium_src-cd501a7565dd6054a120fbfe62d45b2299cfcc3b.zip
chromium_src-cd501a7565dd6054a120fbfe62d45b2299cfcc3b.tar.gz
chromium_src-cd501a7565dd6054a120fbfe62d45b2299cfcc3b.tar.bz2
Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single storage namespace
As discussed here: https://groups.google.com/a/chromium.org/forum/#!topic/storage-dev/aQall8GOrS4 BUG=338338 TBR=cevans NOTRY=true Review URL: https://codereview.chromium.org/492873002 Cr-Commit-Position: refs/heads/master@{#291485} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/file_system_quota_util.h')
-rw-r--r--webkit/browser/fileapi/file_system_quota_util.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/webkit/browser/fileapi/file_system_quota_util.h b/webkit/browser/fileapi/file_system_quota_util.h
index 7e6badf..cffd70a 100644
--- a/webkit/browser/fileapi/file_system_quota_util.h
+++ b/webkit/browser/fileapi/file_system_quota_util.h
@@ -19,11 +19,11 @@ namespace base {
class SequencedTaskRunner;
}
-namespace quota {
+namespace storage {
class QuotaManagerProxy;
}
-namespace fileapi {
+namespace storage {
class FileSystemContext;
class QuotaReservation;
@@ -40,24 +40,22 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemQuotaUtil {
// to the quota manager via |proxy|.
virtual base::File::Error DeleteOriginDataOnFileTaskRunner(
FileSystemContext* context,
- quota::QuotaManagerProxy* proxy,
+ storage::QuotaManagerProxy* proxy,
const GURL& origin_url,
FileSystemType type) = 0;
- virtual void GetOriginsForTypeOnFileTaskRunner(
- fileapi::FileSystemType type,
- std::set<GURL>* origins) = 0;
+ virtual void GetOriginsForTypeOnFileTaskRunner(storage::FileSystemType type,
+ std::set<GURL>* origins) = 0;
- virtual void GetOriginsForHostOnFileTaskRunner(
- fileapi::FileSystemType type,
- const std::string& host,
- std::set<GURL>* origins) = 0;
+ virtual void GetOriginsForHostOnFileTaskRunner(storage::FileSystemType type,
+ const std::string& host,
+ std::set<GURL>* origins) = 0;
// Returns the amount of data used for the origin for usage tracking.
virtual int64 GetOriginUsageOnFileTaskRunner(
- fileapi::FileSystemContext* file_system_context,
+ storage::FileSystemContext* file_system_context,
const GURL& origin_url,
- fileapi::FileSystemType type) = 0;
+ storage::FileSystemType type) = 0;
// Creates new reservation object for the origin and the type.
virtual scoped_refptr<QuotaReservation>
@@ -88,6 +86,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemQuotaUtil {
FileSystemType type) const = 0;
};
-} // namespace fileapi
+} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_UTIL_H_