diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 09:12:59 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 09:12:59 +0000 |
commit | 5c7d598adfc690fe676c54f62cd733d25ee20fa8 (patch) | |
tree | ab138d9c44fde00390e5f5cc203f292d7aa80815 /webkit/appcache/appcache_host.h | |
parent | ca10046545d16cfd705fbfc356d97710f47cedee (diff) | |
download | chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.zip chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.gz chromium_src-5c7d598adfc690fe676c54f62cd733d25ee20fa8.tar.bz2 |
Reland r52072. Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230
TEST=browser_tests
TBR=vandebo
Review URL: http://codereview.chromium.org/2980001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_host.h')
-rw-r--r-- | webkit/appcache/appcache_host.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_host.h b/webkit/appcache/appcache_host.h index 1c7534f..7701f95 100644 --- a/webkit/appcache/appcache_host.h +++ b/webkit/appcache/appcache_host.h @@ -88,8 +88,8 @@ class AppCacheHost : public AppCacheStorage::Delegate, void LoadMainResourceCache(int64 cache_id); // Used to notify the host that the main resource was blocked by a policy. To - // work properly, this method needs to by invokde prior to cache selection. - void NotifyMainResourceBlocked(); + // work properly, this method needs to by invoked prior to cache selection. + void NotifyMainResourceBlocked(const GURL& manifest_url); // Used by the update job to keep track of which hosts are associated // with which pending master entries. @@ -197,6 +197,8 @@ class AppCacheHost : public AppCacheStorage::Delegate, // True if requests for this host were blocked by a policy. bool main_resource_blocked_; + GURL blocked_manifest_url_; + // List of objects observing us. ObserverList<Observer> observers_; |