diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-11-25 17:16:23 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-12-03 14:04:54 +0100 |
commit | 065a197007038ea02f0c72bdb592cd26edd4d20a (patch) | |
tree | 81cab628bd953c68385e0c93571991f9cd9c187d /src/core/browser_context_qt.cpp | |
parent | 9fb7bb8a3a2316fb447a612f1194947f9d65186c (diff) |
Use in-memory caches for off-the-record browsing
Off the record should leave no record, which means we should not use
disk storage for cookies and cache but instead trigger memory caching.
Change-Id: I3e14ed0f91f925bc65675d2e7d9f07eb379a30b0
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/browser_context_qt.cpp')
-rw-r--r-- | src/core/browser_context_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp index 8dc4a3da2..2484ba879 100644 --- a/src/core/browser_context_qt.cpp +++ b/src/core/browser_context_qt.cpp @@ -128,7 +128,7 @@ content::PushMessagingService *BrowserContextQt::GetPushMessagingService() net::URLRequestContextGetter *BrowserContextQt::CreateRequestContext(content::ProtocolHandlerMap *protocol_handlers) { - url_request_getter_ = new URLRequestContextGetterQt(GetPath(), GetCachePath(), protocol_handlers); + url_request_getter_ = new URLRequestContextGetterQt(this, protocol_handlers); static_cast<ResourceContextQt*>(resourceContext.get())->set_url_request_context_getter(url_request_getter_.get()); return url_request_getter_.get(); } |