diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 19:04:19 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 19:04:19 +0000 |
commit | d8c3a46da9b82be3997d619f4f3d5dd32a8c69f3 (patch) | |
tree | c72feb0775f520031ca5edb3ebd1e2c688b8ce23 /base/metrics | |
parent | 00f93a6e497bf687e9c28030bd65e142401ee0aa (diff) | |
download | chromium_src-d8c3a46da9b82be3997d619f4f3d5dd32a8c69f3.zip chromium_src-d8c3a46da9b82be3997d619f4f3d5dd32a8c69f3.tar.gz chromium_src-d8c3a46da9b82be3997d619f4f3d5dd32a8c69f3.tar.bz2 |
Implement A/B experiment for anti-DDoS.
BUG=85258
TEST=manual testing done by developer
Review URL: http://codereview.chromium.org/7027040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r-- | base/metrics/field_trial.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/metrics/field_trial.cc b/base/metrics/field_trial.cc index b86b9cc..190ebcf 100644 --- a/base/metrics/field_trial.cc +++ b/base/metrics/field_trial.cc @@ -369,7 +369,9 @@ size_t FieldTrialList::GetFieldTrialCount() { // static bool FieldTrialList::IsOneTimeRandomizationEnabled() { - DCHECK(global_); + // TODO(joi): Put back a DCHECK(global_) here. First, need to make sure all + // unit test executables have exactly one FieldTrialList instance (currently + // they have 0 or 1). if (!global_) return false; |