Index: components/packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc |
diff --git a/chrome/browser/net/packed_ct_ev_whitelist_unittest.cc b/components/packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc |
similarity index 97% |
rename from chrome/browser/net/packed_ct_ev_whitelist_unittest.cc |
rename to components/packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc |
index 7877e95dbf78b80ec587a21ff66a8ab6c8c2570b..686eee5c288d7567572638966c7150f08faeccbf 100644 |
--- a/chrome/browser/net/packed_ct_ev_whitelist_unittest.cc |
+++ b/components/packed_ct_ev_whitelist/packed_ct_ev_whitelist_unittest.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/net/packed_ct_ev_whitelist.h" |
+#include "components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h" |
#include <algorithm> |
#include <string> |
@@ -54,6 +54,8 @@ std::string GetAllWhitelistData() { |
} // namespace |
+namespace packed_ct_ev_whitelist { |
+ |
TEST(PackedEVCertsWhitelistTest, UncompressFailsForTooShortList) { |
// This list does not contain enough bytes even for the first hash. |
std::vector<uint64_t> res; |
@@ -147,3 +149,5 @@ TEST(PackedEVCertsWhitelistTest, CorrectlyIdentifiesWhitelistIsValid) { |
EXPECT_TRUE(whitelist->IsValid()); |
} |
+ |
+} // namespace packed_ct_ev_whitelist |