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

Unified Diff: components/autofill/content/browser/wallet/wallet_service_url.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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
« no previous file with comments | « cloud_print/service/win/service_utils.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_service_url.cc
diff --git a/components/autofill/content/browser/wallet/wallet_service_url.cc b/components/autofill/content/browser/wallet/wallet_service_url.cc
index 3b0c2d5f7c1936ec874cc6c57938c66ca6ef54d4..e032ed3e29607ea1d1a0fa734a7b5835c593885e 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url.cc
+++ b/components/autofill/content/browser/wallet/wallet_service_url.cc
@@ -207,9 +207,8 @@ bool IsSignInContinueUrl(const GURL& url, size_t* user_index) {
bool IsSignInRelatedUrl(const GURL& url) {
size_t unused;
return url.GetOrigin() == GetAddAccountUrl().GetOrigin() ||
- StartsWith(base::UTF8ToUTF16(url.GetOrigin().host()),
- base::ASCIIToUTF16("accounts."),
- false) ||
+ base::StartsWith(base::UTF8ToUTF16(url.GetOrigin().host()),
+ base::ASCIIToUTF16("accounts."), false) ||
IsSignInContinueUrl(url, &unused);
}
« no previous file with comments | « cloud_print/service/win/service_utils.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698