Index: trunk/src/chrome/browser/safe_browsing/safe_browsing_service.cc |
=================================================================== |
--- trunk/src/chrome/browser/safe_browsing/safe_browsing_service.cc (revision 219785) |
+++ trunk/src/chrome/browser/safe_browsing/safe_browsing_service.cc (working copy) |
@@ -299,16 +299,15 @@ |
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( |
- CreateCookieStore( |
- CookieStoreConfig(CookieFilePath(), |
- CookieStoreConfig::EPHEMERAL_SESSION_COOKIES, |
- NULL, NULL))); |
+ content::CreatePersistentCookieStore( |
+ CookieFilePath(), |
+ false, |
+ NULL, |
+ NULL)); |
url_request_context_.reset(new net::URLRequestContext); |
// |system_url_request_context_getter| may be NULL during tests. |