Index: extensions/browser/api/web_request/web_request_permissions.cc |
diff --git a/extensions/browser/api/web_request/web_request_permissions.cc b/extensions/browser/api/web_request/web_request_permissions.cc |
index 19d85b88835eba0ec1decd91dd99d1f495983451..2f57d63f253ac91ea7c50876f67a9658aba86f0e 100644 |
--- a/extensions/browser/api/web_request/web_request_permissions.cc |
+++ b/extensions/browser/api/web_request/web_request_permissions.cc |
@@ -30,7 +30,7 @@ bool IsSensitiveURL(const GURL& url) { |
const std::string host = url.host(); |
const char kGoogleCom[] = ".google.com"; |
const char kClient[] = "clients"; |
- if (EndsWith(host, kGoogleCom, true)) { |
+ if (base::EndsWith(host, kGoogleCom, true)) { |
// Check for "clients[0-9]*.google.com" hosts. |
// This protects requests to several internal services such as sync, |
// extension update pings, captive portal detection, fraudulent certificate |
@@ -50,7 +50,7 @@ bool IsSensitiveURL(const GURL& url) { |
// others. |
sensitive_chrome_url = |
sensitive_chrome_url || |
- EndsWith(url.host(), ".clients.google.com", true) || |
+ base::EndsWith(url.host(), ".clients.google.com", true) || |
url.host() == "sb-ssl.google.com" || |
(url.host() == "chrome.google.com" && |
base::StartsWithASCII(url.path(), "/webstore", true)); |