diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 18:18:44 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 18:18:44 +0000 |
commit | d1d25e4d3c8fa47a78352813c061cc9f71f562ab (patch) | |
tree | 3376caaf9d2a2257422b9fdd530f425e8c964a79 /chrome/browser/first_run_mac.mm | |
parent | e86aaca212530deeabd13168c2bdc46cc5940f7c (diff) | |
download | chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.zip chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.tar.gz chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.tar.bz2 |
Fix several bugs in First Run.
Chromium:
* First run no longer displays every time you launch Chromium.
* Enable Stats checkbox hidden (it doesn't do anything anyway in Chromium).
General:
* Import popup menu disables with checkbox.
BUG=19163,19171
Review URL: http://codereview.chromium.org/165387
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run_mac.mm')
-rw-r--r-- | chrome/browser/first_run_mac.mm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm index 808b79c..eef1238 100644 --- a/chrome/browser/first_run_mac.mm +++ b/chrome/browser/first_run_mac.mm @@ -120,7 +120,6 @@ bool FirstRunController::DoFirstRun(Profile* profile, return false; } -// Don't enable stats in Chromium. #if defined(GOOGLE_CHROME_BUILD) BOOL stats_enabled = [dialog.get() statsEnabled]; @@ -132,9 +131,14 @@ bool FirstRunController::DoFirstRun(Profile* profile, InitCrashProcessInfo(); } - GoogleUpdateSettings::SetCollectStatsConsent(stats_enabled); + +#else + // Don't enable stats in Chromium. + BOOL stats_enabled = NO; #endif // GOOGLE_CHROME_BUILD + GoogleUpdateSettings::SetCollectStatsConsent(stats_enabled); + // If selected set as default browser. BOOL make_default_browser = [dialog.get() makeDefaultBrowser]; if (make_default_browser) { |