summaryrefslogtreecommitdiffstats
path: root/src/core/url_request_context_getter_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-12-15 12:21:17 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-01-07 13:40:18 +0100
commitdaaa7a9c208671b7b450cf292569fa2f486850fe (patch)
tree4fab68c549f94655496d3e9ac3b740e7f5285784 /src/core/url_request_context_getter_qt.cpp
parent54e05945b0ec4328b9d56b3b6a9886fc24ad3e6a (diff)
Do not use QDir::separator()
Build all paths Qt-style using / separators, and only convert it when converted to Chromium types. Change-Id: I181be6edb903f38e1772bcd324972d1d4e6672fc Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Diffstat (limited to 'src/core/url_request_context_getter_qt.cpp')
-rw-r--r--src/core/url_request_context_getter_qt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/url_request_context_getter_qt.cpp b/src/core/url_request_context_getter_qt.cpp
index 0d72845b5..5d32ef470 100644
--- a/src/core/url_request_context_getter_qt.cpp
+++ b/src/core/url_request_context_getter_qt.cpp
@@ -177,7 +177,7 @@ void URLRequestContextGetterQt::generateCookieStore()
case BrowserContextAdapter::AllowPersistentCookies:
cookieStore =
content::CreateCookieStore(content::CookieStoreConfig(
- base::FilePath(toFilePathString(m_browserContext->cookiesPath())),
+ toFilePath(m_browserContext->cookiesPath()),
content::CookieStoreConfig::PERSISTANT_SESSION_COOKIES,
NULL, NULL)
);
@@ -185,7 +185,7 @@ void URLRequestContextGetterQt::generateCookieStore()
case BrowserContextAdapter::ForcePersistentCookies:
cookieStore =
content::CreateCookieStore(content::CookieStoreConfig(
- base::FilePath(toFilePathString(m_browserContext->cookiesPath())),
+ toFilePath(m_browserContext->cookiesPath()),
content::CookieStoreConfig::RESTORED_SESSION_COOKIES,
NULL, NULL)
);
@@ -240,7 +240,7 @@ void URLRequestContextGetterQt::generateHttpCache()
new net::HttpCache::DefaultBackend(
net::DISK_CACHE,
net::CACHE_BACKEND_DEFAULT,
- base::FilePath(toFilePathString(m_browserContext->httpCachePath())),
+ toFilePath(m_browserContext->httpCachePath()),
m_browserContext->httpCacheMaxSize(),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)
);