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

Unified Diff: chrome/browser/ui/webui/help/help_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
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/help_handler.cc
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
index b0e4aa5f41fc3dd74fd8cfda19d3a3aef03038d8..2e44951c045e0de95520872004fccd319a0a0efd 100644
--- a/chrome/browser/ui/webui/help/help_handler.cc
+++ b/chrome/browser/ui/webui/help/help_handler.cc
@@ -278,8 +278,8 @@ void HelpHandler::GetLocalizedValues(base::DictionaryValue* localized_strings) {
IDS_ABOUT_PAGE_CHANNEL_CHANGE_PAGE_UNSTABLE_MESSAGE,
product_name));
- if (CommandLine::ForCurrentProcess()->
- HasSwitch(chromeos::switches::kDisableNewChannelSwitcherUI)) {
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kDisableNewChannelSwitcherUI)) {
localized_strings->SetBoolean("disableNewChannelSwitcherUI", true);
}
#endif
@@ -295,8 +295,8 @@ void HelpHandler::GetLocalizedValues(base::DictionaryValue* localized_strings) {
localized_strings->SetString("userAgentInfo", GetUserAgent());
- CommandLine::StringType command_line =
- CommandLine::ForCurrentProcess()->GetCommandLineString();
+ base::CommandLine::StringType command_line =
+ base::CommandLine::ForCurrentProcess()->GetCommandLineString();
localized_strings->SetString("commandLineInfo", command_line);
}
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698