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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util.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/chromeos/input_method/input_method_util.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_util.cc b/chrome/browser/chromeos/input_method/input_method_util.cc
index f565d137f08d80e4af53d6e1fd237bcbf57e1450..ca66fa5e2ffbbed7a947b0430b0f3045e91eadd3 100644
--- a/chrome/browser/chromeos/input_method/input_method_util.cc
+++ b/chrome/browser/chromeos/input_method/input_method_util.cc
@@ -429,8 +429,8 @@ bool InputMethodUtil::IsValidInputMethodId(
// static
bool InputMethodUtil::IsKeyboardLayout(const std::string& input_method_id) {
- return StartsWithASCII(input_method_id, "xkb:", false) ||
- extension_ime_util::IsKeyboardLayoutExtension(input_method_id);
+ return base::StartsWithASCII(input_method_id, "xkb:", false) ||
+ extension_ime_util::IsKeyboardLayoutExtension(input_method_id);
}
std::string InputMethodUtil::GetKeyboardLayoutName(

Powered by Google App Engine
This is Rietveld 408576698