Index: webkit/appcache/appcache_host.h |
diff --git a/webkit/appcache/appcache_host.h b/webkit/appcache/appcache_host.h |
index 0f8ac47bf443df2060b04c3e2cb6b53c9a34ac8e..94396c00f7e8e0ac1ca325e1808bab70d4b85ac8 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() { return first_party_url_; } |
michaeln
2011/08/31 23:42:08
method could be const too
marja
2011/09/02 13:40:24
Done.
|
+ |
private: |
Status GetStatus(); |
void LoadSelectedCache(int64 cache_id); |
@@ -245,6 +247,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); |