Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: chrome/installer/util/auto_launch_util.h

Issue 8729009: Implement an AutoLaunch experiment for Chrome for certain brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 the Chrome executable specified in |executable| is set to
16 // auto-launch at computer startup. NOTE: |executable| is optional and should be
17 // blank in most cases (as it will default to the current executable).
18 bool WillLaunchAtLogin(const FilePath& executable);
19
20 // Configures whether chrome.exe in |application_path| (or the directory of the
21 // current executable) should auto-launch at computer startup.
22 // NOTE: |application_path| is optional and should be blank in most cases (will
23 // default to the chrome application path), but can be overridden if needed. If
grt (UTC plus 2) 2011/12/13 17:08:55 i find this NOTE confusing. |application_path| ma
24 // |auto_launch| is true, then it will auto-launch, otherwise it will be
25 // configured not to.
26 void SetWillLaunchAtLogin(bool auto_launch, const FilePath& application_path);
27
28 } // namespace auto_launch_util
29
30 #endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698