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

Unified Diff: ui/base/ime/chromeos/component_extension_ime_manager.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
« no previous file with comments | « tools/gn/target.cc ('k') | ui/base/ime/chromeos/extension_ime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/component_extension_ime_manager.cc
diff --git a/ui/base/ime/chromeos/component_extension_ime_manager.cc b/ui/base/ime/chromeos/component_extension_ime_manager.cc
index 5ed6933bfad43131d9ac1ddcded7b09ddf3c2286..0f3d95b0ee9b30c392e32b15e5faf6e52cc66453 100644
--- a/ui/base/ime/chromeos/component_extension_ime_manager.cc
+++ b/ui/base/ime/chromeos/component_extension_ime_manager.cc
@@ -65,12 +65,12 @@ const char* kLoginLayoutWhitelist[] = {
int GetInputMethodCategory(const std::string& id) {
const std::string engine_id =
chromeos::extension_ime_util::GetComponentIDByInputMethodID(id);
- if (StartsWithASCII(engine_id, "xkb:", true))
+ if (base::StartsWithASCII(engine_id, "xkb:", true))
return 0;
- if (StartsWithASCII(engine_id, "vkd_", true))
+ if (base::StartsWithASCII(engine_id, "vkd_", true))
return 1;
if (engine_id.find("-t-i0-") != std::string::npos &&
- !StartsWithASCII(engine_id, "zh-", true)) {
+ !base::StartsWithASCII(engine_id, "zh-", true)) {
return 2;
}
return 3;
« no previous file with comments | « tools/gn/target.cc ('k') | ui/base/ime/chromeos/extension_ime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698