summaryrefslogtreecommitdiffstats
path: root/chrome/browser/auto_launch_trial.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the Autolaunch infobar...finnur@chromium.org2011-12-191-0/+8
| | | | | | | | | | | | | | | | | 1) shows up on First Run of Chrome (for the right experiment brand code). 2) takes precedent over the 'Chrome is not your default browser' infobar. 3) is not shown if other infobars are present. Also some minor cleanup: - Renamed IsInAutoLaunchGroup to IsInAutoLaunchFieldTrial (better fit). - Moved brand specific code to auto_launch_trial namespace (easier to find) and created meaningful function names for'em. BUG=106801 TEST=This requires a special branded build (see instructions for http://codereview.chromium.org/8729009). Review URL: http://codereview.chromium.org/8969024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114974 0039d316-1c4b-4281-b951-d872f2087c98
* Implement an AutoLaunch experiment for Chrome for certain brand codes. This ↵finnur@chromium.org2011-12-151-0/+51
is for Windows only. BUG=95971 TEST=This requires a special branded build to test (and master_preferences set to have auto_launch_chrome: true or specify mini_installer param --auto-launch-chrome), but after installing it you should see an item under the Wrench \ Options \ Basics that lets you configure Chrome to not auto-launch. If you instead, log out and log in again, Chrome should start with an infobar saying that it was auto-launched. The infobar should stay for a max of 5 launches and then not appear again. Pressing "Cut it out!" on the infobar should turn off this feature. If you just want to test the infobar, launch chrome with --auto-launch-at-startup. Also, uninstall and make sure Chrome is not auto-launched (a Windows error about Chrome not being found should not be shown). Review URL: http://codereview.chromium.org/8729009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114621 0039d316-1c4b-4281-b951-d872f2087c98