|
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 file containing the platform specific implementation of setting Chrome to | |
grt (UTC plus 2)
2011/11/29 18:55:45
i believe file-level comments (which rock!) belong
Finnur
2011/11/29 23:48:30
Despite the word 'file' there, I see this as names
| |
12 // launch on computer startup. | |
13 namespace auto_launch_util { | |
14 | |
15 // Returns whether Chrome is set to auto-launch at computer startup. | |
16 bool IsAutoLaunched(); | |
grt (UTC plus 2)
2011/11/29 18:55:45
for some reason i can't quite articulate, i prefer
Finnur
2011/11/29 23:48:30
I'm fine with that.
| |
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 SetIsAutoLaunched(bool auto_launch, const FilePath& application_path); | |
22 | |
23 } // namespace | |
grt (UTC plus 2)
2011/11/29 18:55:45
} // namespace auto_launch_util
| |
24 | |
25 #endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ | |
OLD | NEW |