Chromium Code Reviews| Index: chrome/installer/util/auto_launch_util.h |
| =================================================================== |
| --- chrome/installer/util/auto_launch_util.h (revision 0) |
| +++ chrome/installer/util/auto_launch_util.h (revision 0) |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
| +#define CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
| +#pragma once |
| + |
| +class FilePath; |
| + |
| +// 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
|
| +// launch on computer startup. |
| +namespace auto_launch_util { |
| + |
| +// Returns whether Chrome is set to auto-launch at computer startup. |
| +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.
|
| + |
| +// Configures whether Chrome should auto-launch at computer startup. |
| +// If |auto_launch| is true, then it will auto-launch, otherwise it will be |
| +// configured not to. |application_path| is the path to the Chrome application. |
| +void SetIsAutoLaunched(bool auto_launch, const FilePath& application_path); |
| + |
| +} // namespace |
|
grt (UTC plus 2)
2011/11/29 18:55:45
} // namespace auto_launch_util
|
| + |
| +#endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_ |
| Property changes on: chrome\installer\util\auto_launch_util.h |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |