Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Issue 6317004: Feature to disable field trials in old versions of Chromium. Field trials... (Closed)

Created:
9 years, 11 months ago by ramant (doing other things)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., ukai, rvargas (doing something else)
Visibility:
Public.

Description

.c Feature to disable field trials in old versions of Chromium. Field trials tests are (usually) monitored for a fixed length of time. With this change field trial tests turn them selves off (will use the default group) after the expiration time (specified in the Field Trial constructor). BUG=13463 TEST=field_trial_unittests tests this code thorougly. spdy session and testing field_trials in renderer process would be very helpful. thanks much. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71820

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 22

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 2

Patch Set 11 : '' #

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -139 lines) Patch
M base/metrics/field_trial.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +55 lines, -20 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +89 lines, -30 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +98 lines, -33 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +49 lines, -38 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/net/predictor_api.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/net/websocket_experiment/websocket_experiment_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/renderer/renderer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rtenneti
Hi Jim, Uploaded the changes with my rtenneti@chromium.org account. Made all the changes you had ...
9 years, 11 months ago (2011-01-17 17:06:30 UTC) #1
jar (doing other things)
http://codereview.chromium.org/6317004/diff/47001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): http://codereview.chromium.org/6317004/diff/47001/base/metrics/field_trial.cc#newcode13 base/metrics/field_trial.cc:13: using base::TimeDelta; Given that all the code is in ...
9 years, 11 months ago (2011-01-18 19:39:44 UTC) #2
rtenneti
Hi Jim, Sorry it took so long to publish these changes. Wanted to make sure ...
9 years, 11 months ago (2011-01-19 01:45:28 UTC) #3
jar (doing other things)
LGTM (tiny nit below) http://codereview.chromium.org/6317004/diff/74001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): http://codereview.chromium.org/6317004/diff/74001/base/metrics/field_trial.h#newcode102 base/metrics/field_trial.h:102: // Sometimes, based on construction ...
9 years, 11 months ago (2011-01-19 06:53:54 UTC) #4
rtenneti
9 years, 11 months ago (2011-01-19 07:24:34 UTC) #5
Thanks much Jim for the thorough code review.
-raman

http://codereview.chromium.org/6317004/diff/74001/base/metrics/field_trial.h
File base/metrics/field_trial.h (right):

http://codereview.chromium.org/6317004/diff/74001/base/metrics/field_trial.h#...
base/metrics/field_trial.h:102: // Sometimes, based on construction
randomization, this call may causes the
On 2011/01/19 06:53:56, jar wrote:
> nit: existing typo?  causes-->cause

Done.

Powered by Google App Engine
This is Rietveld 408576698