diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-11-07 17:07:48 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-11-07 17:17:55 +0100 |
commit | f343e9d69a9aa8d64fe61725cf17c824f8f2d703 (patch) | |
tree | b6ca22d2d475751c600fcf07ad16a858df8014dc /src/core/browser_context_qt.h | |
parent | d2d5baeb8c3b10579f7f144e918b2935af66bec5 (diff) |
Cache to QStandardPaths::CacheLocation
We should save our cache in the configured CacheLocation, and ensure
we are prepared for multiple BrowserContext by caching to a Default
subdir. This matches how chromium caches on linux.
Change-Id: Ibe914fca35435ea1658565be87747cfabc71e97b
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/browser_context_qt.h')
-rw-r--r-- | src/core/browser_context_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/browser_context_qt.h b/src/core/browser_context_qt.h index 8c7e707a8..125c0fc46 100644 --- a/src/core/browser_context_qt.h +++ b/src/core/browser_context_qt.h @@ -51,6 +51,7 @@ public: virtual ~BrowserContextQt(); virtual base::FilePath GetPath() const Q_DECL_OVERRIDE; + base::FilePath GetCachePath() const; virtual bool IsOffTheRecord() const Q_DECL_OVERRIDE; virtual net::URLRequestContextGetter *GetRequestContext() Q_DECL_OVERRIDE; |