diff options
Diffstat (limited to 'webkit/appcache/mock_appcache_storage.cc')
-rw-r--r-- | webkit/appcache/mock_appcache_storage.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/mock_appcache_storage.cc b/webkit/appcache/mock_appcache_storage.cc index 73ae6c9..98af9bf 100644 --- a/webkit/appcache/mock_appcache_storage.cc +++ b/webkit/appcache/mock_appcache_storage.cc @@ -83,9 +83,11 @@ void MockAppCacheStorage::StoreGroupAndNewestCache( } 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, |