summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 01:46:57 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 01:46:57 +0000
commit85ebceb234d6f71845dc198afdf18e3b73caa8d3 (patch)
tree09c8f5a91a60e5b56a7c776492e013b84137af57 /chrome/installer
parent80819047ee0ed2f24d3973d8ef78acee1f7a0dd9 (diff)
downloadchromium_src-85ebceb234d6f71845dc198afdf18e3b73caa8d3.zip
chromium_src-85ebceb234d6f71845dc198afdf18e3b73caa8d3.tar.gz
chromium_src-85ebceb234d6f71845dc198afdf18e3b73caa8d3.tar.bz2
Remove the en_GB for the toast experiment
BUG=none TEST=see twiki/bin/view/Main/ChromeAttritionExperiments for instructions TBR=mal Review URL: http://codereview.chromium.org/463012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index d501701..a9ba827 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -440,13 +440,8 @@ void GoogleChromeDistribution::LaunchUserExperiment(
// users eligible for this experiment are that have no client info.
return;
}
- // User must be in the Great Britain as defined by googe_update language.
- std::wstring lang;
- if (!GoogleUpdateSettings::GetLanguage(&lang) || (lang != L"en-GB"))
- return;
- LOG(INFO) << "User in experiment locale";
// Check browser usage inactivity by the age of the last-write time of the
- // chrome user data directory. Ninety days is our trigger.
+ // chrome user data directory.
std::wstring user_data_dir = installer::GetChromeUserDataPath();
const int kSixtyDays = 60 * 24;
int dir_age_hours = GetDirectoryWriteAgeInHours(user_data_dir.c_str());