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

Unified Diff: chrome/browser/sync/test/integration/extensions_helper.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
Index: chrome/browser/sync/test/integration/extensions_helper.cc
diff --git a/chrome/browser/sync/test/integration/extensions_helper.cc b/chrome/browser/sync/test/integration/extensions_helper.cc
index 9c233748283fccf549238e05f92c53cd6cdc7706..4448958560587b5706b4bae33fafb99d650c7197 100644
--- a/chrome/browser/sync/test/integration/extensions_helper.cc
+++ b/chrome/browser/sync/test/integration/extensions_helper.cc
@@ -124,7 +124,7 @@ std::string CreateFakeExtensionName(int index) {
}
bool ExtensionNameToIndex(const std::string& name, int* index) {
- if (!StartsWithASCII(name, extension_name_prefix, true) ||
+ if (!base::StartsWithASCII(name, extension_name_prefix, true) ||
!base::StringToInt(name.substr(strlen(extension_name_prefix)), index)) {
LOG(WARNING) << "Unable to convert extension name \"" << name
<< "\" to index";

Powered by Google App Engine
This is Rietveld 408576698