Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: components/google/core/browser/google_util.h

Issue 2966763003: [Prototype] Delete Google service worker caches on Android signout (Closed)
Patch Set: Fix the test. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698