Chromium Code Reviews| Index: net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc |
| diff --git a/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc b/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc |
| index 22bd963ad4b17fd4f320fb9f9d618a94c7e18ce5..26eae9b42b961d70872597ab7579733e639f39a2 100644 |
| --- a/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc |
| +++ b/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc |
| @@ -3,6 +3,7 @@ |
| // found in the LICENSE file. |
| #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| +#include "net/base/registry_controlled_domains/test_util.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "url/gurl.h" |
| @@ -28,6 +29,17 @@ namespace test6 { |
| } // namespace |
| namespace net { |
| +namespace test { |
| +namespace registry_controlled_domains { |
| +void SetFindDomainTestGraph() { |
|
Adam Rice
2015/01/19 05:18:56
I don't think you can put this here.
I think ther
yhirano
2015/01/19 05:56:21
Done.
Unfortunately, test_util.cc is more strictly
Adam Rice
2015/01/19 06:05:57
I think that's okay. The check is not perfect, and
|
| + net::registry_controlled_domains::SetFindDomainGraph(test1::kDafsa, |
| + sizeof(test1::kDafsa)); |
| +} |
| +} // namespace registry_controlled_domains |
| +} // namespace test |
| +} // namespace net |
| + |
| +namespace net { |
| namespace registry_controlled_domains { |
| namespace { |