diff options
author | gwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 00:43:53 +0000 |
---|---|---|
committer | gwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 00:43:53 +0000 |
commit | 6090a31886ed716e521310ecff50437b07fcdaa4 (patch) | |
tree | 24c104117adcfcfdf2011cd0f78a02ed6b984f4c | |
parent | 7fff7901c3813f7847e0c46f5eff8a427e3ba6b3 (diff) | |
download | chromium_src-6090a31886ed716e521310ecff50437b07fcdaa4.zip chromium_src-6090a31886ed716e521310ecff50437b07fcdaa4.tar.gz chromium_src-6090a31886ed716e521310ecff50437b07fcdaa4.tar.bz2 |
Changes the toast inactive duration to 3000 days to effectively disable it.
BUG=43891
TEST=Trigger toast scenario, it should only appear if user data dir is 3000 days old.
R=cpu
Review URL: http://codereview.chromium.org/2016009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46994 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/installer/util/google_chrome_distribution.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index 6171066..814eeb0 100644 --- a/chrome/installer/util/google_chrome_distribution.cc +++ b/chrome/installer/util/google_chrome_distribution.cc @@ -565,7 +565,7 @@ void GoogleChromeDistribution::LaunchUserExperiment( // chrome user data directory. std::wstring user_data_dir = installer::GetChromeUserDataPath(); // TODO(cpu): re-enable experiment. - const int kThirtyDays = 30 * 24; + const int kThirtyDays = 3000 * 24; int dir_age_hours = GetDirectoryWriteAgeInHours(user_data_dir.c_str()); if (dir_age_hours < 0) { // This means that we failed to find the user data dir. The most likey |