diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 04:00:01 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 04:00:01 +0000 |
commit | 71aaa7aa371e39947d951addfcdf32f2cda353ac (patch) | |
tree | ab138d9c44fde00390e5f5cc203f292d7aa80815 /webkit/appcache/appcache_host.h | |
parent | 6cd36ac0c3138c5c3e741e32dd6f3e3e6dff9d45 (diff) | |
download | chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.zip chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.gz chromium_src-71aaa7aa371e39947d951addfcdf32f2cda353ac.tar.bz2 |
Pass notifications to the browser on access to the appcache main resource manifest.
BUG=45230
TEST=browser_tests
Review URL: http://codereview.chromium.org/2808046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52072 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_; |