| Index: webkit/appcache/appcache_host.h
|
| diff --git a/webkit/appcache/appcache_host.h b/webkit/appcache/appcache_host.h
|
| index 0f8ac47bf443df2060b04c3e2cb6b53c9a34ac8e..ab9a456e81bb1494b7277e6293370084e95ad2c5 100644
|
| --- a/webkit/appcache/appcache_host.h
|
| +++ b/webkit/appcache/appcache_host.h
|
| @@ -132,6 +132,8 @@ class AppCacheHost : public AppCacheStorage::Delegate,
|
| !pending_selected_manifest_url_.is_empty();
|
| }
|
|
|
| + const GURL& first_party_url() const { return first_party_url_; }
|
| +
|
| private:
|
| Status GetStatus();
|
| void LoadSelectedCache(int64 cache_id);
|
| @@ -150,7 +152,6 @@ class AppCacheHost : public AppCacheStorage::Delegate,
|
| void ObserveGroupBeingUpdated(AppCacheGroup* group);
|
|
|
| // AppCacheGroup::UpdateObserver methods.
|
| - virtual void OnContentBlocked(AppCacheGroup* group);
|
| virtual void OnUpdateComplete(AppCacheGroup* group);
|
|
|
| // Returns true if this host is for a dedicated worker context.
|
| @@ -245,6 +246,9 @@ class AppCacheHost : public AppCacheStorage::Delegate,
|
| // Used to inform the QuotaManager of what origins are currently in use.
|
| GURL origin_in_use_;
|
|
|
| + // First party url to be used in policy checks.
|
| + GURL first_party_url_;
|
| +
|
| friend class AppCacheRequestHandlerTest;
|
| friend class AppCacheUpdateJobTest;
|
| FRIEND_TEST_ALL_PREFIXES(AppCacheTest, CleanupUnusedCache);
|
|
|