| 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..d4730ef29e666bd3e515607f3c132a0574b953a2 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,14 @@ bool IsYoutubeDomainUrl(const GURL& url,
|
| SubdomainPermission subdomain_permission,
|
| PortPermission port_permission);
|
|
|
| +// Returns the list of all Google's registerable domains, i.e. domains named
|
| +// google.<eTLD> owned by Google.
|
| +// TODO(msramek): This is currently only used to ensure the deletion of Google
|
| +// service workers on signout. Remove this once we have other options to do it,
|
| +// such as service workers discovering that signin cookies are missing and
|
| +// unregistering themselves.
|
| +const std::vector<std::string>& GetGoogleRegistrableDomains();
|
| +
|
| } // namespace google_util
|
|
|
| #endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_UTIL_H_
|
|
|