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

Unified Diff: webkit/browser/appcache/appcache_host.cc

Issue 330053004: Rename some appcache types in preparation for moving to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: webkit/browser/appcache/appcache_host.cc
diff --git a/webkit/browser/appcache/appcache_host.cc b/webkit/browser/appcache/appcache_host.cc
index 7f691370b8c9e86aa843d27bff497f60aba82c9c..bcd9c7d61e17e657de5141fd5d57a22549043440 100644
--- a/webkit/browser/appcache/appcache_host.cc
+++ b/webkit/browser/appcache/appcache_host.cc
@@ -20,7 +20,7 @@ namespace {
void FillCacheInfo(const AppCache* cache,
const GURL& manifest_url,
- Status status, AppCacheInfo* info) {
+ AppCacheStatus status, AppCacheInfo* info) {
info->manifest_url = manifest_url;
info->status = status;
@@ -117,11 +117,12 @@ void AppCacheHost::SelectCache(const GURL& document_url,
frontend_->OnEventRaised(host_ids, CHECKING_EVENT);
frontend_->OnErrorEventRaised(
host_ids,
- ErrorDetails("Cache creation was blocked by the content policy",
- POLICY_ERROR,
- GURL(),
- 0,
- false /*is_cross_origin*/));
+ AppCacheErrorDetails(
+ "Cache creation was blocked by the content policy",
+ POLICY_ERROR,
+ GURL(),
+ 0,
+ false /*is_cross_origin*/));
frontend_->OnContentBlocked(host_id_, manifest_url);
return;
}
@@ -312,7 +313,7 @@ void AppCacheHost::GetResourceList(
associated_cache_->ToResourceInfoVector(resource_infos);
}
-Status AppCacheHost::GetStatus() {
+AppCacheStatus AppCacheHost::GetStatus() {
// 6.9.8 Application cache API
AppCache* cache = associated_cache();
if (!cache)

Powered by Google App Engine
This is Rietveld 408576698