Chromium Code Reviews| Index: components/google/core/browser/google_util.h |
| diff --git a/components/google/core/browser/google_util.h b/components/google/core/browser/google_util.h |
| index d2526b22b381cbef561d025069b9ddf5a0142fdc..6e30afb41bd20ef0b6d4b4c4bf68e505780a7860 100644 |
| --- a/components/google/core/browser/google_util.h |
| +++ b/components/google/core/browser/google_util.h |
| @@ -8,6 +8,7 @@ |
| #define COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_UTIL_H_ |
| #include <string> |
| +#include <vector> |
| #include "base/strings/string_piece.h" |
| @@ -112,6 +113,10 @@ bool IsYoutubeDomainUrl(const GURL& url, |
| SubdomainPermission subdomain_permission, |
| PortPermission port_permission); |
| +// Returns the list of all Google's registerable domains, i.e. domains named |
|
Peter Kasting
2017/07/10 19:26:05
Nit: I think the correct spelling is "registrable"
msramek
2017/07/13 14:19:47
Done. (I think you're right, I named it to be cons
|
| +// google.<eTLD> owned by Google. |
| +const std::vector<std::string>& GetGoogleRegisterableDomains(); |
| + |
| } // namespace google_util |
| #endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_UTIL_H_ |