Chromium Code Reviews| 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
|
| } |