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

Unified Diff: chrome/common/crash_keys.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/common/crash_keys.cc
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc
index d9be107d7cf974393f68864126c344b78fc0abf3..c44f1bfc873e299bfdf0d8cb3e51c0115d6c77ea 100644
--- a/chrome/common/crash_keys.cc
+++ b/chrome/common/crash_keys.cc
@@ -339,11 +339,11 @@ static bool IsBoringSwitch(const std::string& flag) {
#if defined(OS_WIN)
// Just about everything has this, don't bother.
- if (StartsWithASCII(flag, "/prefetch:", true))
+ if (base::StartsWithASCII(flag, "/prefetch:", true))
return true;
#endif
- if (!StartsWithASCII(flag, "--", true))
+ if (!base::StartsWithASCII(flag, "--", true))
return false;
size_t end = flag.find("=");
size_t len = (end == std::string::npos) ? flag.length() - 2 : end - 2;

Powered by Google App Engine
This is Rietveld 408576698