diff options
Diffstat (limited to 'WebCore/loader/appcache/ApplicationCache.h')
-rw-r--r-- | WebCore/loader/appcache/ApplicationCache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/loader/appcache/ApplicationCache.h b/WebCore/loader/appcache/ApplicationCache.h index b1753be..d1444c0 100644 --- a/WebCore/loader/appcache/ApplicationCache.h +++ b/WebCore/loader/appcache/ApplicationCache.h @@ -65,6 +65,8 @@ public: ApplicationCacheResource* resourceForRequest(const ResourceRequest&); ApplicationCacheResource* resourceForURL(const String& url); + void setAllowsAllNetworkRequests(bool value) { m_allowAllNetworkRequests = value; } + bool allowsAllNetworkRequests() const { return m_allowAllNetworkRequests; } void setOnlineWhitelist(const Vector<KURL>& onlineWhitelist); const Vector<KURL>& onlineWhitelist() const { return m_onlineWhitelist; } bool isURLInOnlineWhitelist(const KURL&); // There is an entry in online whitelist that has the same origin as the resource's URL and that is a prefix match for the resource's URL. @@ -96,6 +98,7 @@ private: ResourceMap m_resources; ApplicationCacheResource* m_manifest; + bool m_allowAllNetworkRequests; Vector<KURL> m_onlineWhitelist; FallbackURLVector m_fallbackURLs; |