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

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.cc

Issue 819133004: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/extensions/input_method_api.cc
diff --git a/chrome/browser/chromeos/extensions/input_method_api.cc b/chrome/browser/chromeos/extensions/input_method_api.cc
index 644da1d368c2d3098bdbb007af8879659c873673..15954ca9ca966e4ba32789c7282a6bed904dedc1 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.cc
+++ b/chrome/browser/chromeos/extensions/input_method_api.cc
@@ -34,12 +34,11 @@ ExtensionFunction::ResponseAction GetInputMethodConfigFunction::Run() {
base::DictionaryValue* output = new base::DictionaryValue();
output->SetBoolean(
"isPhysicalKeyboardAutocorrectEnabled",
- CommandLine::ForCurrentProcess()->HasSwitch(
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnablePhysicalKeyboardAutocorrect));
- output->SetBoolean(
- "isNewQPInputViewEnabled",
- CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kEnableNewQPInputView));
+ output->SetBoolean("isNewQPInputViewEnabled",
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kEnableNewQPInputView));
return RespondNow(OneArgument(output));
#endif
}

Powered by Google App Engine
This is Rietveld 408576698