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

Unified Diff: chrome/browser/cocoa/first_run_dialog.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
Index: chrome/browser/cocoa/first_run_dialog.mm
diff --git a/chrome/browser/cocoa/first_run_dialog.mm b/chrome/browser/cocoa/first_run_dialog.mm
index 6fdadcb7685d006d05347bbc195d43775073f7c1..4fe80bcdf94174c6c0b367922257c53c28951381 100644
--- a/chrome/browser/cocoa/first_run_dialog.mm
+++ b/chrome/browser/cocoa/first_run_dialog.mm
@@ -23,6 +23,12 @@
// Bound to the dialog checkbox, default to true.
stats_enabled_ = YES;
import_bookmarks_ = YES;
+
+#if !defined(GOOGLE_CHROME_BUILD)
+ // In Chromium builds all stats reporting is disabled so there's no reason
+ // to display the checkbox - the setting is always OFF.
+ usage_stats_checkbox_hidden_ = YES;
+#endif // !GOOGLE_CHROME_BUILD
}
return self;
}

Powered by Google App Engine
This is Rietveld 408576698