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

Unified Diff: chrome/browser/first_run_mac.mm

Issue 165387: Fix several bugs in First Run. (Closed)
Patch Set: Created 11 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/first_run_dialog.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run_mac.mm
diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm
index 808b79c5931bba83eee3d5becdb3b60b7c7a88d0..eef12380679675fea9bb0f1b414c72009f3af86e 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
stuartmorgan 2009/08/12 17:49:46 Seems like this would make more sense right after
+ // 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) {
« no previous file with comments | « chrome/browser/cocoa/first_run_dialog.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698