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

Unified Diff: chrome/browser/browsing_data/browsing_data_quota_helper_impl.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
Index: chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
index fce734c88351b8cb74105fc27876b44bd38701a4..94301bd8fb87100ba3dc1ea630cd4ad26a6655fc 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
@@ -18,7 +18,7 @@
class GURL;
-namespace quota {
+namespace storage {
class QuotaManager;
}
@@ -33,29 +33,29 @@ class BrowsingDataQuotaHelperImpl : public BrowsingDataQuotaHelper {
private:
BrowsingDataQuotaHelperImpl(base::MessageLoopProxy* ui_thread,
base::MessageLoopProxy* io_thread,
- quota::QuotaManager* quota_manager);
+ storage::QuotaManager* quota_manager);
virtual ~BrowsingDataQuotaHelperImpl();
void FetchQuotaInfo();
// Callback function for GetOriginModifiedSince.
- void GotOrigins(const std::set<GURL>& origins, quota::StorageType type);
+ void GotOrigins(const std::set<GURL>& origins, storage::StorageType type);
void ProcessPendingHosts();
- void GetHostUsage(const std::string& host, quota::StorageType type);
+ void GetHostUsage(const std::string& host, storage::StorageType type);
// Callback function for GetHostUsage.
void GotHostUsage(const std::string& host,
- quota::StorageType type,
+ storage::StorageType type,
int64 usage);
void OnComplete();
- void DidRevokeHostQuota(quota::QuotaStatusCode status, int64 quota);
+ void DidRevokeHostQuota(storage::QuotaStatusCode status, int64 quota);
- scoped_refptr<quota::QuotaManager> quota_manager_;
+ scoped_refptr<storage::QuotaManager> quota_manager_;
FetchResultCallback callback_;
- typedef std::set<std::pair<std::string, quota::StorageType> > PendingHosts;
+ typedef std::set<std::pair<std::string, storage::StorageType> > PendingHosts;
PendingHosts pending_hosts_;
std::map<std::string, QuotaInfo> quota_info_;

Powered by Google App Engine
This is Rietveld 408576698