Index: components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h |
diff --git a/chrome/browser/net/packed_ct_ev_whitelist.h b/components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h |
similarity index 91% |
rename from chrome/browser/net/packed_ct_ev_whitelist.h |
rename to components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h |
index 6cbc545053861c3f3652acac78dffd3a61308ec3..29145b08072962ce5166f749fba9e4c366ba81cd 100644 |
--- a/chrome/browser/net/packed_ct_ev_whitelist.h |
+++ b/components/packed_ct_ev_whitelist/packed_ct_ev_whitelist.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_NET_PACKED_CT_EV_WHITELIST_H_ |
-#define CHROME_BROWSER_NET_PACKED_CT_EV_WHITELIST_H_ |
+#ifndef COMPONENTS_PACKED_CT_EV_WHITELIST_PACKED_CT_EV_WHITELIST_H_ |
+#define COMPONENTS_PACKED_CT_EV_WHITELIST_PACKED_CT_EV_WHITELIST_H_ |
#include <stdint.h> |
@@ -17,6 +17,8 @@ namespace base { |
class FilePath; |
} |
+namespace packed_ct_ev_whitelist { |
+ |
// An implementation of the EVCertsWhitelist that gets its data packed using |
// Golomb coding to encode the difference between subsequent hash values. |
// Format of the packed list: |
@@ -76,4 +78,6 @@ class PackedEVCertsWhitelist : public net::ct::EVCertsWhitelist { |
// To set the new whitelist, this function dispatches a task to the IO thread. |
void SetEVCertsWhitelist(scoped_refptr<net::ct::EVCertsWhitelist> whitelist); |
-#endif // CHROME_BROWSER_NET_PACKED_CT_EV_WHITELIST_H_ |
+} // namespace packed_ct_ev_whitelist |
+ |
+#endif // COMPONENTS_PACKED_CT_EV_WHITELIST_PACKED_CT_EV_WHITELIST_H_ |