Index: chrome/browser/safe_browsing/safe_browsing_service.cc |
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc |
index 5ae4201101852f1314faba82c76db5920a3f220c..3cfef1b93955d082b66b8dff79f181212a4bae3a 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc |
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc |
@@ -299,15 +299,16 @@ SafeBrowsingDatabaseManager* SafeBrowsingService::CreateDatabaseManager() { |
void SafeBrowsingService::InitURLRequestContextOnIOThread( |
net::URLRequestContextGetter* system_url_request_context_getter) { |
+ using content::CookieStoreConfig; |
+ |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
DCHECK(!url_request_context_.get()); |
scoped_refptr<net::CookieStore> cookie_store( |
- content::CreatePersistentCookieStore( |
- CookieFilePath(), |
- false, |
- NULL, |
- NULL)); |
+ CreateCookieStore( |
+ CookieStoreConfig(CookieFilePath(), |
+ CookieStoreConfig::EPHEMERAL_SESSION_COOKIES, |
+ NULL, NULL))); |
url_request_context_.reset(new net::URLRequestContext); |
// |system_url_request_context_getter| may be NULL during tests. |