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

Unified Diff: chrome/browser/ui/webui/quota_internals/quota_internals_proxy.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/ui/webui/quota_internals/quota_internals_proxy.h
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
index b2326bef53d1873f2d4e54a29de80ae8e7fbfc28..c3a5f4fe1750a55681723b850edc143343d1949b 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
@@ -35,7 +35,7 @@ class QuotaInternalsProxy
public:
explicit QuotaInternalsProxy(QuotaInternalsHandler* handler);
- void RequestInfo(scoped_refptr<quota::QuotaManager> quota_manager);
+ void RequestInfo(scoped_refptr<storage::QuotaManager> quota_manager);
private:
friend class base::DeleteHelper<QuotaInternalsProxy>;
@@ -43,8 +43,8 @@ class QuotaInternalsProxy
content::BrowserThread::IO>;
friend class QuotaInternalsHandler;
- typedef quota::QuotaManager::QuotaTableEntries QuotaTableEntries;
- typedef quota::QuotaManager::OriginInfoTableEntries OriginInfoTableEntries;
+ typedef storage::QuotaManager::QuotaTableEntries QuotaTableEntries;
+ typedef storage::QuotaManager::OriginInfoTableEntries OriginInfoTableEntries;
virtual ~QuotaInternalsProxy();
@@ -55,31 +55,31 @@ class QuotaInternalsProxy
void ReportStatistics(const Statistics& stats);
// Called on IO Thread by QuotaManager as callback.
- void DidGetAvailableSpace(quota::QuotaStatusCode status, int64 space);
- void DidGetGlobalQuota(quota::StorageType type,
- quota::QuotaStatusCode status,
+ void DidGetAvailableSpace(storage::QuotaStatusCode status, int64 space);
+ void DidGetGlobalQuota(storage::StorageType type,
+ storage::QuotaStatusCode status,
int64 quota);
- void DidGetGlobalUsage(quota::StorageType type,
+ void DidGetGlobalUsage(storage::StorageType type,
int64 usage,
int64 unlimited_usage);
void DidDumpQuotaTable(const QuotaTableEntries& entries);
void DidDumpOriginInfoTable(const OriginInfoTableEntries& entries);
void DidGetHostUsage(const std::string& host,
- quota::StorageType type,
+ storage::StorageType type,
int64 usage);
// Helper. Called on IO Thread.
- void RequestPerOriginInfo(quota::StorageType type);
- void VisitHost(const std::string& host, quota::StorageType type);
- void GetHostUsage(const std::string& host, quota::StorageType type);
+ void RequestPerOriginInfo(storage::StorageType type);
+ void VisitHost(const std::string& host, storage::StorageType type);
+ void GetHostUsage(const std::string& host, storage::StorageType type);
// Used on UI Thread.
QuotaInternalsHandler* handler_;
// Used on IO Thread.
- scoped_refptr<quota::QuotaManager> quota_manager_;
- std::set<std::pair<std::string, quota::StorageType> >
- hosts_visited_, hosts_pending_;
+ scoped_refptr<storage::QuotaManager> quota_manager_;
+ std::set<std::pair<std::string, storage::StorageType> > hosts_visited_,
+ hosts_pending_;
std::vector<PerHostStorageInfo> report_pending_;
base::WeakPtrFactory<QuotaInternalsProxy> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698