|
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. | |
grt (UTC plus 2)
2011/12/03 04:43:38
// Returns whether the current executable is set t
Finnur
2011/12/13 15:53:24
Done.
| |
16 bool WillLaunchAtLogin(); | |
17 | |
18 // Configures whether Chrome should auto-launch at computer startup. | |
grt (UTC plus 2)
2011/12/03 04:43:38
// Configures whether chrome.exe in |application_p
Finnur
2011/12/13 15:53:24
Done.
| |
19 // If |auto_launch| is true, then it will auto-launch, otherwise it will be | |
20 // configured not to. |application_path| is optional and should be blank in most | |
21 // cases (will default to the chrome application path), but can be overridden if | |
22 // needed. | |
23 void SetWillLaunchAtLogin(bool auto_launch, FilePath application_path); | |
grt (UTC plus 2)
2011/12/03 04:43:38
const FilePath&
Finnur
2011/12/13 15:53:24
Done.
| |
24 | |
25 } // namespace auto_launch_util | |
26 | |
27 #endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ | |
OLD | NEW |