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

Unified Diff: webkit/browser/fileapi/sandbox_quota_observer.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: webkit/browser/fileapi/sandbox_quota_observer.cc
diff --git a/webkit/browser/fileapi/sandbox_quota_observer.cc b/webkit/browser/fileapi/sandbox_quota_observer.cc
index 42b6d08604cf5d53da81c8cde598c809d3f3cce3..412fd503a59648fc8e57073cd71f2537d68dfdfb 100644
--- a/webkit/browser/fileapi/sandbox_quota_observer.cc
+++ b/webkit/browser/fileapi/sandbox_quota_observer.cc
@@ -13,17 +13,18 @@
#include "webkit/browser/quota/quota_manager_proxy.h"
#include "webkit/common/fileapi/file_system_util.h"
-namespace fileapi {
+namespace storage {
SandboxQuotaObserver::SandboxQuotaObserver(
- quota::QuotaManagerProxy* quota_manager_proxy,
+ storage::QuotaManagerProxy* quota_manager_proxy,
base::SequencedTaskRunner* update_notify_runner,
ObfuscatedFileUtil* sandbox_file_util,
FileSystemUsageCache* file_system_usage_cache)
: quota_manager_proxy_(quota_manager_proxy),
update_notify_runner_(update_notify_runner),
sandbox_file_util_(sandbox_file_util),
- file_system_usage_cache_(file_system_usage_cache) {}
+ file_system_usage_cache_(file_system_usage_cache) {
+}
SandboxQuotaObserver::~SandboxQuotaObserver() {}
@@ -41,7 +42,7 @@ void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url,
if (quota_manager_proxy_.get()) {
quota_manager_proxy_->NotifyStorageModified(
- quota::QuotaClient::kFileSystem,
+ storage::QuotaClient::kFileSystem,
url.origin(),
FileSystemTypeToQuotaStorageType(url.type()),
delta);
@@ -83,7 +84,7 @@ void SandboxQuotaObserver::OnEndUpdate(const FileSystemURL& url) {
void SandboxQuotaObserver::OnAccess(const FileSystemURL& url) {
if (quota_manager_proxy_.get()) {
quota_manager_proxy_->NotifyStorageAccessed(
- quota::QuotaClient::kFileSystem,
+ storage::QuotaClient::kFileSystem,
url.origin(),
FileSystemTypeToQuotaStorageType(url.type()));
}
@@ -95,7 +96,7 @@ void SandboxQuotaObserver::SetUsageCacheEnabled(
bool enabled) {
if (quota_manager_proxy_.get()) {
quota_manager_proxy_->SetUsageCacheEnabled(
- quota::QuotaClient::kFileSystem,
+ storage::QuotaClient::kFileSystem,
origin,
FileSystemTypeToQuotaStorageType(type),
enabled);
@@ -136,4 +137,4 @@ void SandboxQuotaObserver::UpdateUsageCacheFile(
file_system_usage_cache_->AtomicUpdateUsageByDelta(usage_file_path, delta);
}
-} // namespace fileapi
+} // namespace storage
« no previous file with comments | « webkit/browser/fileapi/sandbox_quota_observer.h ('k') | webkit/browser/fileapi/task_runner_bound_observer_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698