summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 21:49:03 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 21:49:03 +0000
commit2b0a450347fceedac1e25f13aa70468ddcff28b5 (patch)
tree37afe532e7ebc656cb4f0bc781bd745150fdad99
parent6ca575165d05c754e0f59f2101e96023093c5434 (diff)
downloadchromium_src-2b0a450347fceedac1e25f13aa70468ddcff28b5.zip
chromium_src-2b0a450347fceedac1e25f13aa70468ddcff28b5.tar.gz
chromium_src-2b0a450347fceedac1e25f13aa70468ddcff28b5.tar.bz2
Outdated installs don't need a field trial anymore.
TBR=ben@chromium.org BUG=265957 Review URL: https://chromiumcodereview.appspot.com/23402006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219348 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/upgrade_detector_impl.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/upgrade_detector_impl.cc b/chrome/browser/upgrade_detector_impl.cc
index 0bfdbf5..1ed7c56 100644
--- a/chrome/browser/upgrade_detector_impl.cc
+++ b/chrome/browser/upgrade_detector_impl.cc
@@ -12,7 +12,6 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
-#include "base/metrics/field_trial.h"
#include "base/path_service.h"
#include "base/process/launch.h"
#include "base/strings/string_number_conversions.h"
@@ -56,10 +55,6 @@ const int kNotifyCycleTimeForTestingMs = 500; // Half a second.
// The number of days after which we identify a build/install as outdated.
const uint64 kOutdatedBuildAgeInDays = 12 * 7;
-// Finch Experiment strings to identify if we should check for outdated install.
-const char kOutdatedInstallCheckTrialName[] = "OutdatedInstallCheck";
-const char kOutdatedInstallCheck12WeeksGroupName[] = "12WeeksOutdatedInstall";
-
std::string CmdLineInterval() {
const CommandLine& cmd_line = *CommandLine::ForCurrentProcess();
return cmd_line.GetSwitchValueASCII(switches::kCheckForUpdateIntervalSec);
@@ -322,11 +317,6 @@ bool UpgradeDetectorImpl::DetectOutdatedInstall() {
static bool simulate_outdated = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSimulateOutdated);
if (!simulate_outdated) {
- if (base::FieldTrialList::FindFullName(kOutdatedInstallCheckTrialName) !=
- kOutdatedInstallCheck12WeeksGroupName) {
- return false;
- }
-
// Also don't show the bubble if we have a brand code that is NOT organic.
std::string brand;
if (google_util::GetBrand(&brand) && !google_util::IsOrganic(brand))