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

Unified Diff: chrome/browser/io_thread.cc

Issue 9693004: net: always enable NSS's HTTP fetches (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 9 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
« no previous file with comments | « no previous file | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 498a4e41532213e370e7ad7ba9a209c11482610b..8d561bcee9f03fb7f030558528cd4fe5791e3bbd 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -88,14 +88,14 @@ class SystemURLRequestContext : public URLRequestContextWithUserAgent {
public:
SystemURLRequestContext() {
#if defined(USE_NSS)
- net::SetURLRequestContextForOCSP(this);
+ net::SetURLRequestContextForNSSHttpIO(this);
#endif // defined(USE_NSS)
}
private:
virtual ~SystemURLRequestContext() {
#if defined(USE_NSS)
- net::SetURLRequestContextForOCSP(NULL);
+ net::SetURLRequestContextForNSSHttpIO(NULL);
#endif // defined(USE_NSS)
}
};
@@ -371,7 +371,7 @@ void IOThread::Init() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
#if defined(USE_NSS)
- net::SetMessageLoopForOCSP();
+ net::SetMessageLoopForNSSHttpIO();
#endif // defined(USE_NSS)
DCHECK(!globals_);
@@ -470,7 +470,7 @@ void IOThread::CleanUp() {
sdch_manager_ = NULL;
#if defined(USE_NSS)
- net::ShutdownOCSP();
+ net::ShutdownNSSHttpIO();
#endif // defined(USE_NSS)
system_url_request_context_getter_ = NULL;
« no previous file with comments | « no previous file | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698