diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 22:34:00 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 22:34:00 +0000 |
commit | c0ee42ba1ef88bdf30b4e7ff2e0f010ba2a14193 (patch) | |
tree | 733f7a2b6e8999937d91fe0edf8dbb4993345aec /chrome/installer | |
parent | 62a206d0ac3305edb0b4c0a7a681c1e8024fe159 (diff) | |
download | chromium_src-c0ee42ba1ef88bdf30b4e7ff2e0f010ba2a14193.zip chromium_src-c0ee42ba1ef88bdf30b4e7ff2e0f010ba2a14193.tar.gz chromium_src-c0ee42ba1ef88bdf30b4e7ff2e0f010ba2a14193.tar.bz2 |
Change the toasting to 60 days
- same deal GB only
BUG=1484308
TEST=see the bug
Review URL: http://codereview.chromium.org/160044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/google_chrome_distribution.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index 970b786..9f8995e 100644 --- a/chrome/installer/util/google_chrome_distribution.cc +++ b/chrome/installer/util/google_chrome_distribution.cc @@ -435,9 +435,9 @@ void GoogleChromeDistribution::LaunchUserExperiment( // Check browser usage inactivity by the age of the last-write time of the // chrome user data directory. Ninety days is our trigger. std::wstring user_data_dir = installer::GetChromeUserDataPath(); - const int kNinetyDays = 90 * 24; + const int kSixtyDays = 60 * 24; int dir_age_hours = GetDirectoryWriteAgeInHours(user_data_dir.c_str()); - if (dir_age_hours < kNinetyDays) + if (dir_age_hours < kSixtyDays) return; // At this point the user qualifies for the experiment, however we need to // tag a control group, which is at random 50% of the population. |