OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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. |
| 4 |
| 5 #ifndef CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
| 6 #define CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
| 7 #pragma once |
| 8 |
| 9 class FilePath; |
| 10 |
| 11 // A namespace containing the platform specific implementation of setting Chrome |
| 12 // to launch on computer startup. |
| 13 namespace auto_launch_util { |
| 14 |
| 15 // Returns whether Chrome is set to auto-launch at computer startup. |
| 16 bool WillLaunchAtLogin(); |
| 17 |
| 18 // Configures whether Chrome should auto-launch at computer startup. |
| 19 // If |auto_launch| is true, then it will auto-launch, otherwise it will be |
| 20 // configured not to. |application_path| is the path to the Chrome application. |
| 21 void SetWillLaunchAtLogin(bool auto_launch, const FilePath& application_path); |
| 22 |
| 23 } // namespace auto_launch_util |
| 24 |
| 25 #endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
OLD | NEW |