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

Unified Diff: chrome/browser/ui/webui/quota_internals/quota_internals_types.cc

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_types.cc
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_types.cc b/chrome/browser/ui/webui/quota_internals/quota_internals_types.cc
index 097ccaad736b79c790d7c5ea9801602ec28a4220..83565cfe771db09527d818a526819857490ad090 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_types.cc
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_types.cc
@@ -11,17 +11,17 @@
namespace {
-std::string StorageTypeToString(quota::StorageType type) {
+std::string StorageTypeToString(storage::StorageType type) {
switch (type) {
- case quota::kStorageTypeTemporary:
+ case storage::kStorageTypeTemporary:
return "temporary";
- case quota::kStorageTypePersistent:
+ case storage::kStorageTypePersistent:
return "persistent";
- case quota::kStorageTypeSyncable:
+ case storage::kStorageTypeSyncable:
return "syncable";
- case quota::kStorageTypeQuotaNotManaged:
+ case storage::kStorageTypeQuotaNotManaged:
return "quota not managed";
- case quota::kStorageTypeUnknown:
+ case storage::kStorageTypeUnknown:
return "unknown";
}
return "unknown";
@@ -31,7 +31,7 @@ std::string StorageTypeToString(quota::StorageType type) {
namespace quota_internals {
-GlobalStorageInfo::GlobalStorageInfo(quota::StorageType type)
+GlobalStorageInfo::GlobalStorageInfo(storage::StorageType type)
: type_(type), usage_(-1), unlimited_usage_(-1), quota_(-1) {
}
@@ -52,7 +52,7 @@ base::Value* GlobalStorageInfo::NewValue() const {
}
PerHostStorageInfo::PerHostStorageInfo(const std::string& host,
- quota::StorageType type)
+ storage::StorageType type)
: host_(host), type_(type), usage_(-1), quota_(-1) {
}
@@ -71,7 +71,7 @@ base::Value* PerHostStorageInfo::NewValue() const {
}
PerOriginStorageInfo::PerOriginStorageInfo(const GURL& origin,
- quota::StorageType type)
+ storage::StorageType type)
: origin_(origin),
type_(type),
host_(net::GetHostOrSpecFromURL(origin)),

Powered by Google App Engine
This is Rietveld 408576698