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

Unified Diff: webkit/appcache/mock_appcache_storage.cc

Issue 1600002: Indicate in the tab UI if appcache creation was blocked by privacy settings. (Closed)
Patch Set: updates Created 10 years, 8 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/appcache/mock_appcache_storage.cc
diff --git a/webkit/appcache/mock_appcache_storage.cc b/webkit/appcache/mock_appcache_storage.cc
index abdc25037baa849ed2efe202705aaec10f64d88c..7e86ce45adb8c0cd9d1df6b98f42b058dcb5dee3 100644
--- a/webkit/appcache/mock_appcache_storage.cc
+++ b/webkit/appcache/mock_appcache_storage.cc
@@ -229,7 +229,7 @@ void MockAppCacheStorage::ProcessFindResponseForMainRequest(
if (delegate_ref->delegate) {
delegate_ref->delegate->OnMainResponseFound(
url, simulated_found_entry_, simulated_found_fallback_entry_,
- simulated_found_cache_id_, simulated_found_manifest_url_);
+ simulated_found_cache_id_, simulated_found_manifest_url_, false);
}
return;
}
@@ -326,7 +326,7 @@ void MockAppCacheStorage::ProcessFindResponseForMainRequest(
if (found_candidate.entry.has_response_id()) {
delegate_ref->delegate->OnMainResponseFound(
url, found_candidate.entry, AppCacheEntry(),
- found_candidate.cache_id, found_candidate.manifest_url);
+ found_candidate.cache_id, found_candidate.manifest_url, false);
return;
}
@@ -335,13 +335,13 @@ void MockAppCacheStorage::ProcessFindResponseForMainRequest(
delegate_ref->delegate->OnMainResponseFound(
url, AppCacheEntry(), found_fallback_candidate.entry,
found_fallback_candidate.cache_id,
- found_fallback_candidate.manifest_url);
+ found_fallback_candidate.manifest_url, false);
return;
}
// Didn't find anything.
delegate_ref->delegate->OnMainResponseFound(
- url, AppCacheEntry(), AppCacheEntry(), kNoCacheId, GURL());
+ url, AppCacheEntry(), AppCacheEntry(), kNoCacheId, GURL(), false);
}
void MockAppCacheStorage::ProcessMakeGroupObsolete(

Powered by Google App Engine
This is Rietveld 408576698