summaryrefslogtreecommitdiffstats
path: root/webkit/browser/quota
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/browser/quota')
-rw-r--r--webkit/browser/quota/quota_callbacks.h4
-rw-r--r--webkit/browser/quota/quota_client.h4
-rw-r--r--webkit/browser/quota/quota_database.cc4
-rw-r--r--webkit/browser/quota/quota_database.h4
-rw-r--r--webkit/browser/quota/quota_manager.cc4
-rw-r--r--webkit/browser/quota/quota_manager.h4
-rw-r--r--webkit/browser/quota/quota_manager_proxy.cc4
-rw-r--r--webkit/browser/quota/quota_manager_proxy.h4
-rw-r--r--webkit/browser/quota/quota_task.cc4
-rw-r--r--webkit/browser/quota/quota_task.h2
-rw-r--r--webkit/browser/quota/quota_temporary_storage_evictor.cc4
-rw-r--r--webkit/browser/quota/quota_temporary_storage_evictor.h4
-rw-r--r--webkit/browser/quota/special_storage_policy.cc4
-rw-r--r--webkit/browser/quota/special_storage_policy.h4
-rw-r--r--webkit/browser/quota/storage_monitor.cc4
-rw-r--r--webkit/browser/quota/storage_monitor.h4
-rw-r--r--webkit/browser/quota/storage_observer.cc4
-rw-r--r--webkit/browser/quota/storage_observer.h4
-rw-r--r--webkit/browser/quota/usage_tracker.cc4
-rw-r--r--webkit/browser/quota/usage_tracker.h4
20 files changed, 39 insertions, 39 deletions
diff --git a/webkit/browser/quota/quota_callbacks.h b/webkit/browser/quota/quota_callbacks.h
index 84f52c0..7018aba 100644
--- a/webkit/browser/quota/quota_callbacks.h
+++ b/webkit/browser/quota/quota_callbacks.h
@@ -18,7 +18,7 @@
class GURL;
-namespace quota {
+namespace storage {
struct UsageInfo;
typedef std::vector<UsageInfo> UsageInfoEntries;
@@ -124,6 +124,6 @@ typedef CallbackQueueMap<QuotaCallback, std::string,
Tuple2<QuotaStatusCode, int64> >
HostQuotaCallbackMap;
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_QUOTA_QUOTA_TYPES_H_
diff --git a/webkit/browser/quota/quota_client.h b/webkit/browser/quota/quota_client.h
index 5c0da46..a113a6c 100644
--- a/webkit/browser/quota/quota_client.h
+++ b/webkit/browser/quota/quota_client.h
@@ -14,7 +14,7 @@
#include "webkit/browser/webkit_storage_browser_export.h"
#include "webkit/common/quota/quota_types.h"
-namespace quota {
+namespace storage {
// An abstract interface for quota manager clients.
// Each storage API must provide an implementation of this interface and
@@ -76,6 +76,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT QuotaClient {
// TODO(dmikurube): Replace it to std::vector for efficiency.
typedef std::list<QuotaClient*> QuotaClientList;
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_CLIENT_H_
diff --git a/webkit/browser/quota/quota_database.cc b/webkit/browser/quota/quota_database.cc
index 03bed77..de07cc8a 100644
--- a/webkit/browser/quota/quota_database.cc
+++ b/webkit/browser/quota/quota_database.cc
@@ -18,7 +18,7 @@
#include "url/gurl.h"
#include "webkit/browser/quota/special_storage_policy.h"
-namespace quota {
+namespace storage {
namespace {
// Definitions for database schema.
@@ -654,4 +654,4 @@ bool operator<(const QuotaDatabase::OriginInfoTableEntry& lhs,
return lhs.last_access_time < rhs.last_access_time;
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/quota_database.h b/webkit/browser/quota/quota_database.h
index c64fde7..4e3128f 100644
--- a/webkit/browser/quota/quota_database.h
+++ b/webkit/browser/quota/quota_database.h
@@ -30,7 +30,7 @@ class MetaTable;
class GURL;
-namespace quota {
+namespace storage {
class SpecialStoragePolicy;
@@ -185,6 +185,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaDatabase {
DISALLOW_COPY_AND_ASSIGN(QuotaDatabase);
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_DATABASE_H_
diff --git a/webkit/browser/quota/quota_manager.cc b/webkit/browser/quota/quota_manager.cc
index e468822..0193787 100644
--- a/webkit/browser/quota/quota_manager.cc
+++ b/webkit/browser/quota/quota_manager.cc
@@ -35,7 +35,7 @@
(name), static_cast<int>((sample) / kMBytes), \
1, 10 * 1024 * 1024 /* 10TB */, 100)
-namespace quota {
+namespace storage {
namespace {
@@ -1628,4 +1628,4 @@ void QuotaManager::PostTaskAndReplyWithResultForDBThread(
reply);
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/quota_manager.h b/webkit/browser/quota/quota_manager.h
index ebb953a..9fe9586 100644
--- a/webkit/browser/quota/quota_manager.h
+++ b/webkit/browser/quota/quota_manager.h
@@ -46,7 +46,7 @@ class StorageMonitorTest;
}
-namespace quota {
+namespace storage {
class QuotaDatabase;
class QuotaManagerProxy;
@@ -454,6 +454,6 @@ struct QuotaManagerDeleter {
}
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_
diff --git a/webkit/browser/quota/quota_manager_proxy.cc b/webkit/browser/quota/quota_manager_proxy.cc
index 20b42c3..7cc39c7 100644
--- a/webkit/browser/quota/quota_manager_proxy.cc
+++ b/webkit/browser/quota/quota_manager_proxy.cc
@@ -12,7 +12,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/task_runner_util.h"
-namespace quota {
+namespace storage {
namespace {
@@ -157,4 +157,4 @@ QuotaManagerProxy::QuotaManagerProxy(
QuotaManagerProxy::~QuotaManagerProxy() {
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/quota_manager_proxy.h b/webkit/browser/quota/quota_manager_proxy.h
index 21c97c6..c58a44b 100644
--- a/webkit/browser/quota/quota_manager_proxy.h
+++ b/webkit/browser/quota/quota_manager_proxy.h
@@ -25,7 +25,7 @@ class SequencedTaskRunner;
class SingleThreadTaskRunner;
}
-namespace quota {
+namespace storage {
// The proxy may be called and finally released on any thread.
class WEBKIT_STORAGE_BROWSER_EXPORT QuotaManagerProxy
@@ -73,6 +73,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT QuotaManagerProxy
DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy);
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_PROXY_H_
diff --git a/webkit/browser/quota/quota_task.cc b/webkit/browser/quota/quota_task.cc
index 3aa4e51..98594a9 100644
--- a/webkit/browser/quota/quota_task.cc
+++ b/webkit/browser/quota/quota_task.cc
@@ -15,7 +15,7 @@
using base::TaskRunner;
-namespace quota {
+namespace storage {
// QuotaTask ---------------------------------------------------------------
@@ -76,4 +76,4 @@ void QuotaTaskObserver::UnregisterTask(QuotaTask* task) {
running_quota_tasks_.erase(task);
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/quota_task.h b/webkit/browser/quota/quota_task.h
index 65344e9..9204c29 100644
--- a/webkit/browser/quota/quota_task.h
+++ b/webkit/browser/quota/quota_task.h
@@ -18,7 +18,7 @@ class SingleThreadTaskRunner;
class TaskRunner;
}
-namespace quota {
+namespace storage {
class QuotaTaskObserver;
diff --git a/webkit/browser/quota/quota_temporary_storage_evictor.cc b/webkit/browser/quota/quota_temporary_storage_evictor.cc
index 47a36f8..3eaad3f 100644
--- a/webkit/browser/quota/quota_temporary_storage_evictor.cc
+++ b/webkit/browser/quota/quota_temporary_storage_evictor.cc
@@ -29,7 +29,7 @@ const int kThresholdOfErrorsToStopEviction = 5;
const int kHistogramReportIntervalMinutes = 60;
}
-namespace quota {
+namespace storage {
const int QuotaTemporaryStorageEvictor::
kMinAvailableDiskSpaceToStartEvictionNotSpecified = -1;
@@ -258,4 +258,4 @@ void QuotaTemporaryStorageEvictor::OnEvictionComplete(
}
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/quota_temporary_storage_evictor.h b/webkit/browser/quota/quota_temporary_storage_evictor.h
index 244fa0f..222aa6d 100644
--- a/webkit/browser/quota/quota_temporary_storage_evictor.h
+++ b/webkit/browser/quota/quota_temporary_storage_evictor.h
@@ -20,7 +20,7 @@ namespace content {
class QuotaTemporaryStorageEvictorTest;
}
-namespace quota {
+namespace storage {
class QuotaEvictionHandler;
struct UsageAndQuota;
@@ -129,6 +129,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaTemporaryStorageEvictor
DISALLOW_COPY_AND_ASSIGN(QuotaTemporaryStorageEvictor);
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_
diff --git a/webkit/browser/quota/special_storage_policy.cc b/webkit/browser/quota/special_storage_policy.cc
index 9aacb04..eac7ba0 100644
--- a/webkit/browser/quota/special_storage_policy.cc
+++ b/webkit/browser/quota/special_storage_policy.cc
@@ -4,7 +4,7 @@
#include "webkit/browser/quota/special_storage_policy.h"
-namespace quota {
+namespace storage {
SpecialStoragePolicy::Observer::~Observer() {}
@@ -35,4 +35,4 @@ void SpecialStoragePolicy::NotifyCleared() {
FOR_EACH_OBSERVER(Observer, observers_, OnCleared());
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/special_storage_policy.h b/webkit/browser/quota/special_storage_policy.h
index c8beb44..83e5052 100644
--- a/webkit/browser/quota/special_storage_policy.h
+++ b/webkit/browser/quota/special_storage_policy.h
@@ -13,7 +13,7 @@
class GURL;
-namespace quota {
+namespace storage {
// Special rights are granted to 'extensions' and 'applications'. The
// storage subsystems query this interface to determine which origins
@@ -81,6 +81,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT SpecialStoragePolicy
ObserverList<Observer> observers_;
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_
diff --git a/webkit/browser/quota/storage_monitor.cc b/webkit/browser/quota/storage_monitor.cc
index bb56af3..366d4d7 100644
--- a/webkit/browser/quota/storage_monitor.cc
+++ b/webkit/browser/quota/storage_monitor.cc
@@ -11,7 +11,7 @@
#include "webkit/browser/quota/quota_manager.h"
#include "webkit/common/quota/quota_status_code.h"
-namespace quota {
+namespace storage {
// StorageObserverList:
@@ -376,4 +376,4 @@ void StorageMonitor::NotifyUsageChange(
it->second->NotifyUsageChange(filter, delta);
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/storage_monitor.h b/webkit/browser/quota/storage_monitor.h
index e52fd18d..0550ecf 100644
--- a/webkit/browser/quota/storage_monitor.h
+++ b/webkit/browser/quota/storage_monitor.h
@@ -16,7 +16,7 @@ namespace content {
class StorageMonitorTestBase;
}
-namespace quota {
+namespace storage {
class QuotaManager;
@@ -175,6 +175,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE StorageMonitor {
DISALLOW_COPY_AND_ASSIGN(StorageMonitor);
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_STORAGE_MONITOR_H_
diff --git a/webkit/browser/quota/storage_observer.cc b/webkit/browser/quota/storage_observer.cc
index 907ed59..ec0fe23 100644
--- a/webkit/browser/quota/storage_observer.cc
+++ b/webkit/browser/quota/storage_observer.cc
@@ -4,7 +4,7 @@
#include "webkit/browser/quota/storage_observer.h"
-namespace quota {
+namespace storage {
// StorageObserver::Filter
@@ -62,4 +62,4 @@ bool StorageObserver::Event::operator==(const Event& other) const {
quota == other.quota;
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/storage_observer.h b/webkit/browser/quota/storage_observer.h
index bc6389d..513f448 100644
--- a/webkit/browser/quota/storage_observer.h
+++ b/webkit/browser/quota/storage_observer.h
@@ -11,7 +11,7 @@
#include "webkit/browser/quota/quota_client.h"
#include "webkit/common/quota/quota_types.h"
-namespace quota {
+namespace storage {
// This interface is implemented by observers that wish to monitor storage
// events, such as changes in quota or usage.
@@ -74,6 +74,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT StorageObserver {
virtual ~StorageObserver() {}
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_STORAGE_OBSERVER_H_
diff --git a/webkit/browser/quota/usage_tracker.cc b/webkit/browser/quota/usage_tracker.cc
index 2e4659f..c2aa4c6 100644
--- a/webkit/browser/quota/usage_tracker.cc
+++ b/webkit/browser/quota/usage_tracker.cc
@@ -17,7 +17,7 @@
#include "webkit/browser/quota/storage_monitor.h"
#include "webkit/browser/quota/storage_observer.h"
-namespace quota {
+namespace storage {
namespace {
@@ -691,4 +691,4 @@ bool ClientUsageTracker::IsStorageUnlimited(const GURL& origin) const {
special_storage_policy_->IsStorageUnlimited(origin);
}
-} // namespace quota
+} // namespace storage
diff --git a/webkit/browser/quota/usage_tracker.h b/webkit/browser/quota/usage_tracker.h
index 91bd18c..e807884 100644
--- a/webkit/browser/quota/usage_tracker.h
+++ b/webkit/browser/quota/usage_tracker.h
@@ -22,7 +22,7 @@
#include "webkit/browser/webkit_storage_browser_export.h"
#include "webkit/common/quota/quota_types.h"
-namespace quota {
+namespace storage {
class ClientUsageTracker;
class StorageMonitor;
@@ -197,6 +197,6 @@ class ClientUsageTracker : public SpecialStoragePolicy::Observer,
DISALLOW_COPY_AND_ASSIGN(ClientUsageTracker);
};
-} // namespace quota
+} // namespace storage
#endif // WEBKIT_BROWSER_QUOTA_USAGE_TRACKER_H_