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

Unified Diff: webkit/appcache/mock_appcache_storage.cc

Issue 6727006: Select a more appropiate appcache based on the opener or the parent of the new document. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
===================================================================
--- webkit/appcache/mock_appcache_storage.cc (revision 81647)
+++ webkit/appcache/mock_appcache_storage.cc (working copy)
@@ -83,9 +83,11 @@
}
void MockAppCacheStorage::FindResponseForMainRequest(
- const GURL& url, Delegate* delegate) {
+ const GURL& url, const GURL& preferred_manifest_url, Delegate* delegate) {
DCHECK(delegate);
+ // Note: MockAppCacheStorage does not respect the preferred_manifest_url.
+
// Always make this operation look async.
ScheduleTask(method_factory_.NewRunnableMethod(
&MockAppCacheStorage::ProcessFindResponseForMainRequest,

Powered by Google App Engine
This is Rietveld 408576698