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

Unified Diff: chrome/common/variations/experiment_labels.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/variations/experiment_labels.cc
diff --git a/chrome/common/variations/experiment_labels.cc b/chrome/common/variations/experiment_labels.cc
index 6c952440cb477ef10738015c244ac1f1e2363f56..ad230f569beb0af8bc8b20676ebae2bee3616174 100644
--- a/chrome/common/variations/experiment_labels.cc
+++ b/chrome/common/variations/experiment_labels.cc
@@ -96,9 +96,9 @@ base::string16 CombineExperimentLabels(const base::string16& variation_labels,
const base::string16& other_labels) {
const base::string16 separator(1, google_update::kExperimentLabelSeparator);
DCHECK(!base::StartsWith(variation_labels, separator, false));
- DCHECK(!EndsWith(variation_labels, separator, false));
+ DCHECK(!base::EndsWith(variation_labels, separator, false));
DCHECK(!base::StartsWith(other_labels, separator, false));
- DCHECK(!EndsWith(other_labels, separator, false));
+ DCHECK(!base::EndsWith(other_labels, separator, false));
// Note that if either label is empty, a separator is not necessary.
base::string16 combined_labels = other_labels;
if (!other_labels.empty() && !variation_labels.empty())
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698