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

Unified Diff: chromeos/cert_loader_unittest.cc

Issue 612643002: fix build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cert_loader_unittest.cc
diff --git a/chromeos/cert_loader_unittest.cc b/chromeos/cert_loader_unittest.cc
index e3800d59e7cd8f0050d801dec4d4ad6fab44721a..ca25a35dfc240fad6b427c3f452d17d4ffb973cc 100644
--- a/chromeos/cert_loader_unittest.cc
+++ b/chromeos/cert_loader_unittest.cc
@@ -19,6 +19,9 @@
#include "net/test/cert_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
+// http://crbug.com/418369
+#ifndef NDEBUG
+
namespace chromeos {
namespace {
@@ -172,8 +175,6 @@ class CertLoaderTest : public testing::Test,
size_t certificates_loaded_events_count_;
};
-// http://crbug.com/418369
-#ifndef NDEBUG
TEST_F(CertLoaderTest, Basic) {
EXPECT_FALSE(cert_loader_->CertificatesLoading());
EXPECT_FALSE(cert_loader_->certificates_loaded());
@@ -315,7 +316,8 @@ TEST_F(CertLoaderTest, UpdatedOnCACertTrustChange) {
EXPECT_EQ(1U, GetAndResetCertificatesLoadedEventsCount());
}
-#endif
-
} // namespace
} // namespace chromeos
+
+#endif
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698