Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: trunk/src/chrome/browser/safe_browsing/safe_browsing_service.cc

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698