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

Unified Diff: tools/android/forwarder2/device_forwarder_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/android/forwarder/forwarder.cc ('k') | tools/android/forwarder2/host_forwarder_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/device_forwarder_main.cc
diff --git a/tools/android/forwarder2/device_forwarder_main.cc b/tools/android/forwarder2/device_forwarder_main.cc
index be99aeb501757fb1df03bb2f9aff3edaa7bbdc82..c215efa6b3c89af57f73ffd8a0ceddb76d76f2c7 100644
--- a/tools/android/forwarder2/device_forwarder_main.cc
+++ b/tools/android/forwarder2/device_forwarder_main.cc
@@ -139,9 +139,9 @@ class ClientDelegate : public Daemon::ClientDelegate {
};
int RunDeviceForwarder(int argc, char** argv) {
- CommandLine::Init(argc, argv); // Needed by logging.
- const bool kill_server = CommandLine::ForCurrentProcess()->HasSwitch(
- "kill-server");
+ base::CommandLine::Init(argc, argv); // Needed by logging.
+ const bool kill_server =
+ base::CommandLine::ForCurrentProcess()->HasSwitch("kill-server");
if ((kill_server && argc != 2) || (!kill_server && argc != 1)) {
std::cerr << "Usage: device_forwarder [--kill-server]" << std::endl;
return 1;
« no previous file with comments | « tools/android/forwarder/forwarder.cc ('k') | tools/android/forwarder2/host_forwarder_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698