diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 13:10:21 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-09 13:10:21 +0000 |
commit | 035545f333d5f508bee18782784b17c3d6889924 (patch) | |
tree | bc7f79bb0f9aeb52bceca75741f0e1e68cb3228d /webkit/appcache/mock_appcache_storage.cc | |
parent | f16943a1cad260cdee0d20147ea947d9bff84d84 (diff) | |
download | chromium_src-035545f333d5f508bee18782784b17c3d6889924.zip chromium_src-035545f333d5f508bee18782784b17c3d6889924.tar.gz chromium_src-035545f333d5f508bee18782784b17c3d6889924.tar.bz2 |
Indicate in the tab UI if appcache creation was blocked by privacy settings.
TEST=manual
BUG=38362
Review URL: http://codereview.chromium.org/1600002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/mock_appcache_storage.cc')
-rw-r--r-- | webkit/appcache/mock_appcache_storage.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/appcache/mock_appcache_storage.cc b/webkit/appcache/mock_appcache_storage.cc index abdc250..7e86ce4 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( |