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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter.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
« no previous file with comments | « chrome/browser/prerender/prerender_util.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_resetter/automatic_profile_resetter.cc
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter.cc b/chrome/browser/profile_resetter/automatic_profile_resetter.cc
index f932946afebb851d49239a4394e0ed39a308eac9..e6c886d1e4c76f2e4098a95a0b106b182c2baa35 100644
--- a/chrome/browser/profile_resetter/automatic_profile_resetter.cc
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter.cc
@@ -85,16 +85,17 @@ const uint32 kCombinedStatusMaskMaximumValue =
// Returns whether or not a dry-run shall be performed.
bool ShouldPerformDryRun() {
- return base::StartsWithASCII(
+ return base::StartsWith(
base::FieldTrialList::FindFullName(kAutomaticProfileResetStudyName),
- kAutomaticProfileResetStudyDryRunGroupName, true);
+ kAutomaticProfileResetStudyDryRunGroupName, base::CompareCase::SENSITIVE);
}
// Returns whether or not a live-run shall be performed.
bool ShouldPerformLiveRun() {
- return base::StartsWithASCII(
+ return base::StartsWith(
base::FieldTrialList::FindFullName(kAutomaticProfileResetStudyName),
- kAutomaticProfileResetStudyEnabledGroupName, true);
+ kAutomaticProfileResetStudyEnabledGroupName,
+ base::CompareCase::SENSITIVE);
}
// If the currently active experiment group prescribes a |program| and
« no previous file with comments | « chrome/browser/prerender/prerender_util.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698