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

Unified Diff: chrome/renderer/extensions/app_bindings.cc

Issue 1214183008: Update StartsWith calls to use new versions in chrome and content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: chrome/renderer/extensions/app_bindings.cc
diff --git a/chrome/renderer/extensions/app_bindings.cc b/chrome/renderer/extensions/app_bindings.cc
index 7ead4ef766335a72157e65980d691b9f9b397c61..34997d06e58bb4360232cd6c2b200742a690fbdd 100644
--- a/chrome/renderer/extensions/app_bindings.cc
+++ b/chrome/renderer/extensions/app_bindings.cc
@@ -39,7 +39,8 @@ bool IsCheckoutURL(const std::string& url_spec) {
if (checkout_url_prefix.empty())
checkout_url_prefix = "https://checkout.google.com/";
- return base::StartsWithASCII(url_spec, checkout_url_prefix, false);
+ return base::StartsWith(url_spec, checkout_url_prefix,
+ base::CompareCase::INSENSITIVE_ASCII);
}
bool CheckAccessToAppDetails(WebFrame* frame, v8::Isolate* isolate) {
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | chrome/renderer/extensions/extension_localization_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698