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

Unified Diff: net/base/net_test_suite.h

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
« no previous file with comments | « chrome/common/net/url_fetcher_unittest.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_test_suite.h
diff --git a/net/base/net_test_suite.h b/net/base/net_test_suite.h
index 00d984437ffb1e3b37f2b953e53628ac9e5da4f3..6d5b7e4e9605009a8baa5dc9b187e564e74995e3 100644
--- a/net/base/net_test_suite.h
+++ b/net/base/net_test_suite.h
@@ -11,7 +11,9 @@
#include "base/test/test_suite.h"
#include "build/build_config.h"
#include "net/base/mock_host_resolver.h"
+#if defined(USE_NSS)
#include "net/ocsp/nss_ocsp.h"
+#endif
class NetTestSuite : public base::TestSuite {
public:
@@ -41,7 +43,7 @@ class NetTestSuite : public base::TestSuite {
}
virtual void Shutdown() {
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
net::ShutdownOCSP();
#endif // defined(OS_LINUX)
bulach 2010/11/11 14:08:30 s/OS_LINUX/USE_NSS/
wtc 2010/11/11 14:30:09 You can also just delete this comment.
joth 2010/11/11 16:52:02 Done.
« no previous file with comments | « chrome/common/net/url_fetcher_unittest.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698