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

Unified Diff: content/browser/appcache/appcache_quota_client.cc

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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: content/browser/appcache/appcache_quota_client.cc
diff --git a/webkit/browser/appcache/appcache_quota_client.cc b/content/browser/appcache/appcache_quota_client.cc
similarity index 96%
rename from webkit/browser/appcache/appcache_quota_client.cc
rename to content/browser/appcache/appcache_quota_client.cc
index 039b5544bd94361827e30a320c400307a5b3d5aa..2e8c2ab16353891f0f424b6e541eec9f5ee109b4 100644
--- a/webkit/browser/appcache/appcache_quota_client.cc
+++ b/content/browser/appcache/appcache_quota_client.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/browser/appcache/appcache_quota_client.h"
+#include "content/browser/appcache/appcache_quota_client.h"
#include <algorithm>
#include <map>
@@ -10,7 +10,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
-#include "webkit/browser/appcache/appcache_service_impl.h"
+#include "content/browser/appcache/appcache_service_impl.h"
using quota::QuotaClient;
@@ -24,14 +24,14 @@ quota::QuotaStatusCode NetErrorCodeToQuotaStatus(int code) {
return quota::kQuotaStatusUnknown;
}
-void RunFront(appcache::AppCacheQuotaClient::RequestQueue* queue) {
+void RunFront(content::AppCacheQuotaClient::RequestQueue* queue) {
base::Closure request = queue->front();
queue->pop_front();
request.Run();
}
} // namespace
-namespace appcache {
+namespace content {
AppCacheQuotaClient::AppCacheQuotaClient(AppCacheServiceImpl* service)
: service_(service),
@@ -250,4 +250,4 @@ void AppCacheQuotaClient::NotifyAppCacheDestroyed() {
delete this;
}
-} // namespace appcache
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698