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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 12985002: Add a new App launcher promo to the apps page / NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS review round 4. Created 7 years, 9 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/chrome_browser_field_trials.cc ('k') | chrome/browser/resources/ntp4/app_launcher_promo.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index d7f2f648b0a65f3465316190b3c67627705da54f..4df00b06e29021eee772635f2fec8132dfad55ea 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -680,10 +680,8 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
if (variations_service)
variations_service->CreateTrialsFromSeed();
- const int64 install_date = local_state_->GetInt64(prefs::kInstallDate);
- // This must be called after the pref is initialized.
- DCHECK(install_date);
- browser_field_trials_.SetupFieldTrials(base::Time::FromTimeT(install_date));
+ // This must be called after the local state is initialized.
+ browser_field_trials_.SetupFieldTrials(local_state_);
SetupPlatformFieldTrials();
« no previous file with comments | « chrome/browser/chrome_browser_field_trials.cc ('k') | chrome/browser/resources/ntp4/app_launcher_promo.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698