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

Unified Diff: tools/set_default_handler/set_default_handler_main.cc

Issue 819223002: 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 | « tools/perf/clear_system_cache/clear_system_cache_main.cc ('k') | ui/app_list/app_list_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/set_default_handler/set_default_handler_main.cc
diff --git a/tools/set_default_handler/set_default_handler_main.cc b/tools/set_default_handler/set_default_handler_main.cc
index b07f50a105caa961d4934f9206aa2d0a63508abe..8b4b343eefc9c50f0db28837e8624450f1022604 100644
--- a/tools/set_default_handler/set_default_handler_main.cc
+++ b/tools/set_default_handler/set_default_handler_main.cc
@@ -28,7 +28,7 @@ const wchar_t kDefaultProtocol[] = L"http";
extern "C"
int wmain(int argc, wchar_t* argv[]) {
// Initialize the commandline singleton from the environment.
- CommandLine::Init(0, NULL);
+ base::CommandLine::Init(0, NULL);
// The exit manager is in charge of calling the dtors of singletons.
base::AtExitManager exit_manager;
logging::LoggingSettings settings;
@@ -38,7 +38,7 @@ int wmain(int argc, wchar_t* argv[]) {
ui::win::CreateATLModuleIfNeeded();
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
base::string16 protocol(command_line->GetSwitchValueNative(kSwitchProtocol));
if (protocol.empty())
protocol = kDefaultProtocol;
« no previous file with comments | « tools/perf/clear_system_cache/clear_system_cache_main.cc ('k') | ui/app_list/app_list_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698