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

Unified Diff: net/url_request/url_fetcher_impl_unittest.cc

Issue 11434009: Ensure that NSS HTTP IO is initialized on iOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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: net/url_request/url_fetcher_impl_unittest.cc
===================================================================
--- net/url_request/url_fetcher_impl_unittest.cc (revision 168842)
+++ net/url_request/url_fetcher_impl_unittest.cc (working copy)
@@ -22,7 +22,7 @@
#include "net/url_request/url_request_throttler_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if defined(USE_NSS)
+#if defined(USE_NSS) || defined(OS_IOS)
#include "net/ocsp/nss_ocsp.h"
#endif
@@ -111,14 +111,14 @@
io_message_loop_proxy_ = base::MessageLoopProxy::current();
-#if defined(USE_NSS)
+#if defined(USE_NSS) || defined(OS_IOS)
crypto::EnsureNSSInit();
EnsureNSSHttpIOInit();
#endif
}
virtual void TearDown() OVERRIDE {
-#if defined(USE_NSS)
+#if defined(USE_NSS) || defined(OS_IOS)
ShutdownNSSHttpIO();
#endif
Ryan Sleevi 2012/11/28 21:56:13 Broader question: Do we need these at all in the u
droger 2012/11/29 08:32:26 FYI, these tests are excluded on iOS (at the gyp l
wtc 2012/11/29 19:24:33 Good question. I haven't found the answer. Because
}

Powered by Google App Engine
This is Rietveld 408576698