diff options
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequestContext.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebRequestContext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequestContext.h b/WebKit/android/WebCoreSupport/WebRequestContext.h index 1b82406..51f0514 100644 --- a/WebKit/android/WebCoreSupport/WebRequestContext.h +++ b/WebKit/android/WebCoreSupport/WebRequestContext.h @@ -44,6 +44,8 @@ public: // These methods are threadsafe. void setUserAgent(const WTF::String&); + void setCacheMode(int); + int getCacheMode(); static void setAcceptLanguage(const WTF::String&); static const WTF::String& acceptLanguage(); @@ -52,6 +54,7 @@ private: ~WebRequestContext(); std::string m_userAgent; + int m_cacheMode; mutable WTF::Mutex m_userAgentMutex; bool m_isPrivateBrowsing; }; |