| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "googleurl/src/gurl.h" | |
| 6 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 5 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 #include "url/gurl.h" |
| 8 | 8 |
| 9 #include "effective_tld_names_unittest1.cc" | 9 #include "effective_tld_names_unittest1.cc" |
| 10 static const char* const Perfect_Hash_Test1_stringpool = stringpool1; | 10 static const char* const Perfect_Hash_Test1_stringpool = stringpool1; |
| 11 #undef TOTAL_KEYWORDS | 11 #undef TOTAL_KEYWORDS |
| 12 #undef MIN_WORD_LENGTH | 12 #undef MIN_WORD_LENGTH |
| 13 #undef MAX_WORD_LENGTH | 13 #undef MAX_WORD_LENGTH |
| 14 #undef MIN_HASH_VALUE | 14 #undef MIN_HASH_VALUE |
| 15 #undef MAX_HASH_VALUE | 15 #undef MAX_HASH_VALUE |
| 16 #include "effective_tld_names_unittest2.cc" | 16 #include "effective_tld_names_unittest2.cc" |
| 17 static const char* const Perfect_Hash_Test2_stringpool = stringpool2; | 17 static const char* const Perfect_Hash_Test2_stringpool = stringpool2; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 GetRegistryLengthFromURLIncludingPrivate("http://private", | 343 GetRegistryLengthFromURLIncludingPrivate("http://private", |
| 344 INCLUDE_UNKNOWN_REGISTRIES)); | 344 INCLUDE_UNKNOWN_REGISTRIES)); |
| 345 EXPECT_EQ(7U, | 345 EXPECT_EQ(7U, |
| 346 GetRegistryLengthFromURLIncludingPrivate("http://foo.private", | 346 GetRegistryLengthFromURLIncludingPrivate("http://foo.private", |
| 347 INCLUDE_UNKNOWN_REGISTRIES)); | 347 INCLUDE_UNKNOWN_REGISTRIES)); |
| 348 } | 348 } |
| 349 | 349 |
| 350 | 350 |
| 351 } // namespace registry_controlled_domains | 351 } // namespace registry_controlled_domains |
| 352 } // namespace net | 352 } // namespace net |
| OLD | NEW |