Make 'Bookmark all tabs' window able to minimize upto default size.
[chromium-blink-merge.git] / tools / android / common / daemon.h
blob99faf72b8e0fa40c705c97b01ca5f4062d2bdacf
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
3 // found in the LICENSE file.
5 #ifndef TOOLS_ANDROID_COMMON_DAEMON_H_
6 #define TOOLS_ANDROID_COMMON_DAEMON_H_
8 namespace base {
9 class CommandLine;
12 namespace tools {
14 bool HasHelpSwitch(const base::CommandLine& command_line);
16 bool HasNoSpawnDaemonSwitch(const base::CommandLine& command_line);
18 void ShowHelp(const char* program,
19 const char* extra_title,
20 const char* extra_descriptions);
22 // Spawns a daemon process and exits the current process with exit_status.
23 // Any code executed after this function returns will be executed in the
24 // spawned daemon process.
25 void SpawnDaemon(int exit_status);
27 } // namespace tools
29 #endif // TOOLS_ANDROID_COMMON_DAEMON_H_