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

Unified Diff: chrome/common/net/url_fetcher_unittest.cc

Issue 4696004: openssl build fixes, and tidy the build files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leave build files alone except for the minimal fixes Created 10 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: chrome/common/net/url_fetcher_unittest.cc
diff --git a/chrome/common/net/url_fetcher_unittest.cc b/chrome/common/net/url_fetcher_unittest.cc
index 466d8e66bd9cfc4fa2a7abd7e3617e09829ab374..65fb3c58577c70861c62391591555c0d00e11aa8 100644
--- a/chrome/common/net/url_fetcher_unittest.cc
+++ b/chrome/common/net/url_fetcher_unittest.cc
@@ -15,7 +15,7 @@
#include "net/test/test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
#include "net/ocsp/nss_ocsp.h"
#endif
@@ -79,13 +79,13 @@ class URLFetcherTest : public testing::Test, public URLFetcher::Delegate {
// Ensure that any plugin operations done by other tests are cleaned up.
ChromePluginLib::UnloadAllPlugins();
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
net::EnsureOCSPInit();
#endif
}
virtual void TearDown() {
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
net::ShutdownOCSP();
#endif
}
« no previous file with comments | « build/linux/system.gyp ('k') | net/base/net_test_suite.h » ('j') | net/base/net_test_suite.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698