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

Side by Side Diff: tools/android/common/daemon.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libjingle/overrides/init_webrtc.h ('k') | tools/gn/setup.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_ANDROID_COMMON_DAEMON_H_ 5 #ifndef TOOLS_ANDROID_COMMON_DAEMON_H_
6 #define TOOLS_ANDROID_COMMON_DAEMON_H_ 6 #define TOOLS_ANDROID_COMMON_DAEMON_H_
7 7
8 namespace base {
8 class CommandLine; 9 class CommandLine;
10 }
9 11
10 namespace tools { 12 namespace tools {
11 13
12 bool HasHelpSwitch(const CommandLine& command_line); 14 bool HasHelpSwitch(const base::CommandLine& command_line);
13 15
14 bool HasNoSpawnDaemonSwitch(const CommandLine& command_line); 16 bool HasNoSpawnDaemonSwitch(const base::CommandLine& command_line);
15 17
16 void ShowHelp(const char* program, 18 void ShowHelp(const char* program,
17 const char* extra_title, 19 const char* extra_title,
18 const char* extra_descriptions); 20 const char* extra_descriptions);
19 21
20 // Spawns a daemon process and exits the current process with exit_status. 22 // Spawns a daemon process and exits the current process with exit_status.
21 // Any code executed after this function returns will be executed in the 23 // Any code executed after this function returns will be executed in the
22 // spawned daemon process. 24 // spawned daemon process.
23 void SpawnDaemon(int exit_status); 25 void SpawnDaemon(int exit_status);
24 26
25 } // namespace tools 27 } // namespace tools
26 28
27 #endif // TOOLS_ANDROID_COMMON_DAEMON_H_ 29 #endif // TOOLS_ANDROID_COMMON_DAEMON_H_
28 30
OLDNEW
« no previous file with comments | « third_party/libjingle/overrides/init_webrtc.h ('k') | tools/gn/setup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698