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

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') | net/ocsp/nss_ocsp.h » ('J')
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..49d1218b2b21cfdcd6d938e26b709c0f4adeeb77 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::SetURLRequestContextForOCSPAndAIA(this);
#endif // defined(USE_NSS)
}
private:
virtual ~SystemURLRequestContext() {
#if defined(USE_NSS)
- net::SetURLRequestContextForOCSP(NULL);
+ net::SetURLRequestContextForOCSPAndAIA(NULL);
#endif // defined(USE_NSS)
}
};
@@ -371,7 +371,7 @@ void IOThread::Init() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
#if defined(USE_NSS)
- net::SetMessageLoopForOCSP();
+ net::SetMessageLoopForOCSPAndAIA();
#endif // defined(USE_NSS)
DCHECK(!globals_);
@@ -470,7 +470,7 @@ void IOThread::CleanUp() {
sdch_manager_ = NULL;
#if defined(USE_NSS)
- net::ShutdownOCSP();
+ net::ShutdownOCSPAndAIA();
#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') | net/ocsp/nss_ocsp.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698