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

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
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/auto_launch_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 |application_path| is set
16 // to auto-launch at computer startup. NOTE: |application_path| is optional and
17 // should be blank in most cases (as it will default to the application path of
18 // the current executable).
19 bool WillLaunchAtLogin(const FilePath& application_path);
20
21 // Configures whether the Chrome executable should auto-launch at computer
22 // startup. |application_path| is needed when |auto_launch| is true AND when
23 // the caller is not the process being set to auto-launch, ie. the installer.
24 // This is because |application_path|, if left blank, defaults to the
25 // application path of the current executable. If |auto_launch| is true, then it
26 // will auto-launch, otherwise it will be configured not to.
27 void SetWillLaunchAtLogin(bool auto_launch, const FilePath& application_path);
28
29 } // namespace auto_launch_util
30
31 #endif // CHROME_INSTALLER_UTIL_AUTO_LAUNCH_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/auto_launch_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698