Index: net/base/registry_controlled_domain.h |
diff --git a/net/base/registry_controlled_domain.h b/net/base/registry_controlled_domain.h |
index fc64f3a978a4a3209a48c92976c6e14f3ef950a4..7586c125b621add9239f972997881f05930a8622 100644 |
--- a/net/base/registry_controlled_domain.h |
+++ b/net/base/registry_controlled_domain.h |
@@ -198,6 +198,11 @@ class RegistryControlledDomainService { |
static size_t GetRegistryLength(const std::wstring& host, |
bool allow_unknown_registries); |
+ // Returns the singleton instance, after attempting to initialize it. |
+ // NOTE that if the effective-TLD data resource can't be found, the instance |
+ // will be initialized and continue operation with simple default TLD data. |
+ static RegistryControlledDomainService* GetInstance(); |
+ |
protected: |
// The entire protected API is only for unit testing. I mean it. Don't make |
// me come over there! |
@@ -221,11 +226,6 @@ class RegistryControlledDomainService { |
// To allow construction of the internal singleton instance. |
friend struct DefaultSingletonTraits<RegistryControlledDomainService>; |
- // Returns the singleton instance, after attempting to initialize it. |
- // NOTE that if the effective-TLD data resource can't be found, the instance |
- // will be initialized and continue operation with simple default TLD data. |
- static RegistryControlledDomainService* GetInstance(); |
- |
// Internal workings of the static public methods. See above. |
static std::string GetDomainAndRegistryImpl(const std::string& host); |
size_t GetRegistryLengthImpl(const std::string& host, |