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

Unified Diff: content/child/quota_dispatcher.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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
« no previous file with comments | « content/child/fileapi/webfilewriter_base.cc ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/quota_dispatcher.h
diff --git a/content/child/quota_dispatcher.h b/content/child/quota_dispatcher.h
index b80b194b5fd8cb907d8a1ddbde15c2ca1122d200..b9b950a78bcc69e13767a15108864bfbdef12701 100644
--- a/content/child/quota_dispatcher.h
+++ b/content/child/quota_dispatcher.h
@@ -40,7 +40,7 @@ class QuotaDispatcher : public WorkerTaskRunner::Observer {
virtual ~Callback() {}
virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) = 0;
virtual void DidGrantStorageQuota(int64 usage, int64 granted_quota) = 0;
- virtual void DidFail(quota::QuotaStatusCode status) = 0;
+ virtual void DidFail(storage::QuotaStatusCode status) = 0;
};
QuotaDispatcher(ThreadSafeSender* thread_safe_sender,
@@ -59,11 +59,11 @@ class QuotaDispatcher : public WorkerTaskRunner::Observer {
void OnMessageReceived(const IPC::Message& msg);
void QueryStorageUsageAndQuota(const GURL& gurl,
- quota::StorageType type,
+ storage::StorageType type,
Callback* callback);
void RequestStorageQuota(int render_view_id,
const GURL& gurl,
- quota::StorageType type,
+ storage::StorageType type,
uint64 requested_size,
Callback* callback);
@@ -79,8 +79,7 @@ class QuotaDispatcher : public WorkerTaskRunner::Observer {
void DidGrantStorageQuota(int request_id,
int64 current_usage,
int64 granted_quota);
- void DidFail(int request_id,
- quota::QuotaStatusCode error);
+ void DidFail(int request_id, storage::QuotaStatusCode error);
IDMap<Callback, IDMapOwnPointer> pending_quota_callbacks_;
« no previous file with comments | « content/child/fileapi/webfilewriter_base.cc ('k') | content/child/quota_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698