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,27 @@ |
+// 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 namespace containing the platform specific implementation of setting Chrome |
+// to launch on computer startup. |
+namespace auto_launch_util { |
+ |
+// 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.
|
+bool WillLaunchAtLogin(); |
+ |
+// 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.
|
+// If |auto_launch| is true, then it will auto-launch, otherwise it will be |
+// configured not to. |application_path| is optional and should be blank in most |
+// cases (will default to the chrome application path), but can be overridden if |
+// needed. |
+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.
|
+ |
+} // 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 |