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

Unified Diff: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc

Issue 816403003: 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/ui/webui/options/chromeos/keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
index 97398d92981a92daee4ee87d5026826aaa26fd5f..69b4eae9bbdc8b47db82d11f68f87a479a57fd05 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -134,11 +134,11 @@ void KeyboardHandler::GetLocalizedValues(
}
void KeyboardHandler::InitializePage() {
- bool chromeos_keyboard = CommandLine::ForCurrentProcess()->HasSwitch(
+ bool chromeos_keyboard = base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kHasChromeOSKeyboard);
const base::FundamentalValue show_caps_lock_options(!chromeos_keyboard);
- bool has_diamond_key = CommandLine::ForCurrentProcess()->HasSwitch(
+ bool has_diamond_key = base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kHasChromeOSDiamondKey);
const base::FundamentalValue show_diamond_key_options(has_diamond_key);

Powered by Google App Engine
This is Rietveld 408576698