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

Unified Diff: tools/android/common/daemon.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 | « testing/android/native_test_launcher.cc ('k') | tools/android/forwarder/forwarder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/common/daemon.cc
diff --git a/tools/android/common/daemon.cc b/tools/android/common/daemon.cc
index 699c615676fd37336e92976e0082b940ed65a10b..943457610955a3b850d504a4b4ba237df2e50392 100644
--- a/tools/android/common/daemon.cc
+++ b/tools/android/common/daemon.cc
@@ -33,11 +33,11 @@ void CloseFileDescriptor(int fd) {
namespace tools {
-bool HasHelpSwitch(const CommandLine& command_line) {
+bool HasHelpSwitch(const base::CommandLine& command_line) {
return command_line.HasSwitch("h") || command_line.HasSwitch("help");
}
-bool HasNoSpawnDaemonSwitch(const CommandLine& command_line) {
+bool HasNoSpawnDaemonSwitch(const base::CommandLine& command_line) {
return command_line.HasSwitch(kNoSpawnDaemon);
}
« no previous file with comments | « testing/android/native_test_launcher.cc ('k') | tools/android/forwarder/forwarder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698