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

Unified Diff: chrome/browser/push_messaging/push_messaging_app_identifier.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: 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
Index: chrome/browser/push_messaging/push_messaging_app_identifier.cc
diff --git a/chrome/browser/push_messaging/push_messaging_app_identifier.cc b/chrome/browser/push_messaging/push_messaging_app_identifier.cc
index 325081add3fafb042630197f4a48f94878a9aa63..fa15b9468950343944fa1adca15aa74ae085b2d5 100644
--- a/chrome/browser/push_messaging/push_messaging_app_identifier.cc
+++ b/chrome/browser/push_messaging/push_messaging_app_identifier.cc
@@ -75,8 +75,8 @@ PushMessagingAppIdentifier PushMessagingAppIdentifier::Generate(
// static
PushMessagingAppIdentifier PushMessagingAppIdentifier::FindByAppId(
Profile* profile, const std::string& app_id) {
- if (!base::StartsWithASCII(app_id, kPushMessagingAppIdentifierPrefix,
- false /* case_sensitive */)) {
+ if (!base::StartsWith(app_id, kPushMessagingAppIdentifierPrefix,
+ base::CompareCase::INSENSITIVE_ASCII)) {
return PushMessagingAppIdentifier();
}

Powered by Google App Engine
This is Rietveld 408576698