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

Issue 10382018: Added a SetForced method to allow forcing a new set of group bucketting. (Closed)

Created:
8 years, 7 months ago by MAD
Modified:
8 years, 7 months ago
CC:
chromium-reviews, erikwright (departed), Ilya Sherman, jar (doing other things), brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Added a SetForced method to allow forcing a new set of group bucketting. This will be needed by the Finch client (soon to be known as the Variations Service) that will get updated information about FieldTrials and pre-feed the field trial list based on this information. So this is different from CreateFieldTrial, which forced a group choice, this new method allows forcing a new set of appended groups. BUG=121695 TEST=build\Debug\base_unittests.exe --gtest_filter=FieldTrialTest.SetForced Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135748

Patch Set 1 : Initial #

Total comments: 2

Patch Set 2 : Comment update #

Patch Set 3 : Now allowing already forced trials so that command line switch has precendence. #

Total comments: 8

Patch Set 4 : Better wording for the header comments of the new method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M base/metrics/field_trial.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
MAD
We need this to complete the Finch Client which will fetch updated information about Field ...
8 years, 7 months ago (2012-05-04 20:02:15 UTC) #1
jar (doing other things)
https://chromiumcodereview.appspot.com/10382018/diff/2001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://chromiumcodereview.appspot.com/10382018/diff/2001/base/metrics/field_trial.cc#newcode176 base/metrics/field_trial.cc:176: // change the bucketting into groups, so there must ...
8 years, 7 months ago (2012-05-05 00:32:25 UTC) #2
MAD
Sorry for not being clear, here's the complete picture. Someone creates a Field Trial with ...
8 years, 7 months ago (2012-05-05 12:25:03 UTC) #3
MAD
Better like this? https://chromiumcodereview.appspot.com/10382018/diff/2001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://chromiumcodereview.appspot.com/10382018/diff/2001/base/metrics/field_trial.cc#newcode176 base/metrics/field_trial.cc:176: // change the bucketting into groups, ...
8 years, 7 months ago (2012-05-07 13:48:09 UTC) #4
MAD
Made a small modification, please take another look... Thanks! BYE MAD...
8 years, 7 months ago (2012-05-07 18:43:47 UTC) #5
jar (doing other things)
https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc#newcode176 base/metrics/field_trial.cc:176: if (forced_) How does this handle "races?" I'm curious ...
8 years, 7 months ago (2012-05-07 18:58:00 UTC) #6
MAD
Answers to questions, let me know if it's still not clear... Will try to come ...
8 years, 7 months ago (2012-05-07 19:11:24 UTC) #7
MAD
On 2012/05/07 19:11:24, MAD wrote: > Answers to questions, let me know if it's still ...
8 years, 7 months ago (2012-05-07 19:28:13 UTC) #8
jar (doing other things)
https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc#newcode176 base/metrics/field_trial.cc:176: if (forced_) Maybe my memory is failing me, but ...
8 years, 7 months ago (2012-05-07 19:46:19 UTC) #9
MAD
More answers to more questions... https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://chromiumcodereview.appspot.com/10382018/diff/7/base/metrics/field_trial.cc#newcode176 base/metrics/field_trial.cc:176: if (forced_) On 2012/05/07 ...
8 years, 7 months ago (2012-05-07 20:00:53 UTC) #10
jar (doing other things)
I'm still a tad nervous... but we'll see. LGTM
8 years, 7 months ago (2012-05-07 20:55:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10382018/10002
8 years, 7 months ago (2012-05-07 21:00:01 UTC) #12
MAD
Thanks! On Mon, May 7, 2012 at 4:55 PM, <jar@chromium.org> wrote: > I'm still a ...
8 years, 7 months ago (2012-05-07 21:02:59 UTC) #13
commit-bot: I haz the power
8 years, 7 months ago (2012-05-07 22:48:28 UTC) #14
Change committed as 135748

Powered by Google App Engine
This is Rietveld 408576698