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

Issue 700953002: Send all field trials from the browser. (Closed)

Created:
6 years, 1 month ago by Georges Khalil
Modified:
5 years, 11 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, erikwright+watch_chromium.org, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@finch4
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send all field trials from the browser. - Switching behavior of command line to send all field trials from the browser to the renderers. - Added notification from renderer to browser whenever a trial is activated. BUG=430924 Committed: https://crrev.com/a0a12d5a031878cee3e8532bc5817ad84a55cd87 Cr-Commit-Position: refs/heads/master@{#311554}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Responded to comments. #

Total comments: 14

Patch Set 3 : Rebased to trunk (ignore this patch). #

Patch Set 4 : Responded to comments. #

Total comments: 6

Patch Set 5 : Responded to comments and fixed some minor issues. #

Total comments: 8

Patch Set 6 : Responded to comments and added a test. #

Total comments: 6

Patch Set 7 : Responded to comments. #

Patch Set 8 : Added test StatesStringFormat. #

Total comments: 4

Patch Set 9 : Merging to ToT. #

Patch Set 10 : Responded to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -7 lines) Patch
M base/metrics/field_trial.h View 1 2 3 4 5 6 4 chunks +27 lines, -0 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 3 4 5 2 chunks +37 lines, -0 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 2 3 4 5 6 7 3 chunks +105 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 5 6 7 8 9 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 49 (18 generated)
Georges Khalil
PTAL. Note: This does not change the behavior for trials created after the renderer. Those ...
6 years, 1 month ago (2014-11-05 15:45:26 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/700953002/diff/60001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/60001/base/metrics/field_trial.cc#newcode403 base/metrics/field_trial.cc:403: it != all_groups.end(); ++it) { Nit: We now support ...
6 years, 1 month ago (2014-11-05 16:17:14 UTC) #6
Georges Khalil
PTAL. https://codereview.chromium.org/700953002/diff/60001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/60001/base/metrics/field_trial.cc#newcode403 base/metrics/field_trial.cc:403: it != all_groups.end(); ++it) { On 2014/11/05 16:17:13, ...
6 years, 1 month ago (2014-11-05 20:00:12 UTC) #9
Alexei Svitkine (slow)
Generally, looks good. Various nits, though. Please create a crbug for this and associate it. ...
6 years, 1 month ago (2014-11-05 22:50:53 UTC) #10
Georges Khalil
PTAL. https://codereview.chromium.org/700953002/diff/100001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/100001/base/metrics/field_trial.cc#newcode433 base/metrics/field_trial.cc:433: void FieldTrialList::GetAllFieldTrialGroups( On 2014/11/05 22:50:53, Alexei Svitkine wrote: ...
6 years, 1 month ago (2014-11-06 18:36:28 UTC) #12
Alexei Svitkine (slow)
The latest diff looks strange - looks like it's against the last patchset instead of ...
6 years, 1 month ago (2014-11-06 22:25:03 UTC) #14
Georges Khalil
On 2014/11/06 22:25:03, Alexei Svitkine wrote: > The latest diff looks strange - looks like ...
6 years, 1 month ago (2014-11-07 15:46:02 UTC) #20
Alexei Svitkine (slow)
https://codereview.chromium.org/700953002/diff/300001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/300001/base/metrics/field_trial.cc#newcode412 base/metrics/field_trial.cc:412: for (const FieldTrial::FieldTrialState& trial : all_groups) { Nit: My ...
6 years, 1 month ago (2014-11-07 15:51:03 UTC) #21
Georges Khalil
PTAL. https://codereview.chromium.org/700953002/diff/300001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/300001/base/metrics/field_trial.cc#newcode412 base/metrics/field_trial.cc:412: for (const FieldTrial::FieldTrialState& trial : all_groups) { On ...
6 years, 1 month ago (2014-11-07 16:44:23 UTC) #22
Alexei Svitkine (slow)
Sorry, forgot to send these Friday. https://codereview.chromium.org/700953002/diff/320001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/320001/base/metrics/field_trial.cc#newcode406 base/metrics/field_trial.cc:406: if (registered.second->GetState(&trial)) { ...
6 years, 1 month ago (2014-11-10 18:30:43 UTC) #23
Georges Khalil
PTAL. https://codereview.chromium.org/700953002/diff/320001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/700953002/diff/320001/base/metrics/field_trial.cc#newcode406 base/metrics/field_trial.cc:406: if (registered.second->GetState(&trial)) { On 2014/11/10 18:30:43, Alexei Svitkine ...
6 years, 1 month ago (2014-11-10 19:22:30 UTC) #25
Alexei Svitkine (slow)
LGTM % request for another test and one more comment https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial.h#newcode109 ...
6 years, 1 month ago (2014-11-10 19:28:47 UTC) #26
Georges Khalil
nasko@chromium.org: Please review changes in - chrome/common/render_messages.h - content/renderer/renderer_main.cc jhawkins@chromium.org: Please review changes in - ...
6 years, 1 month ago (2014-11-10 20:50:34 UTC) #28
Alexei Svitkine (slow)
https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial_unittest.cc File base/metrics/field_trial_unittest.cc (right): https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial_unittest.cc#newcode456 base/metrics/field_trial_unittest.cc:456: EXPECT_EQ("*Some name/Winner/*xxx/yyyy/zzz/default/", save_string); On 2014/11/10 20:50:34, Georges Khalil wrote: ...
6 years, 1 month ago (2014-11-10 20:52:35 UTC) #29
nasko
chrome/common/render_messages.h and content/renderer/renderer_main.cc LGTM
6 years, 1 month ago (2014-11-10 21:16:45 UTC) #30
Georges Khalil
https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial_unittest.cc File base/metrics/field_trial_unittest.cc (right): https://codereview.chromium.org/700953002/diff/360001/base/metrics/field_trial_unittest.cc#newcode456 base/metrics/field_trial_unittest.cc:456: EXPECT_EQ("*Some name/Winner/*xxx/yyyy/zzz/default/", save_string); On 2014/11/10 20:52:35, Alexei Svitkine wrote: ...
6 years, 1 month ago (2014-11-10 22:36:10 UTC) #32
Alexei Svitkine (slow)
lgtm
6 years, 1 month ago (2014-11-10 22:37:21 UTC) #33
Georges Khalil
On 2014/11/10 22:37:21, Alexei Svitkine wrote: > lgtm @jhawkings: friendly ping.
5 years, 11 months ago (2015-01-05 21:01:40 UTC) #34
James Hawkins
https://codereview.chromium.org/700953002/diff/420001/chrome/browser/renderer_host/chrome_render_message_filter.cc File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): https://codereview.chromium.org/700953002/diff/420001/chrome/browser/renderer_host/chrome_render_message_filter.cc#newcode371 chrome/browser/renderer_host/chrome_render_message_filter.cc:371: base::FieldTrialList::FindFullName(trial_name); Is this method just poorly named? It's not ...
5 years, 11 months ago (2015-01-05 21:05:05 UTC) #35
Georges Khalil
@jhawkings: PTAnL. https://codereview.chromium.org/700953002/diff/420001/chrome/browser/renderer_host/chrome_render_message_filter.cc File chrome/browser/renderer_host/chrome_render_message_filter.cc (right): https://codereview.chromium.org/700953002/diff/420001/chrome/browser/renderer_host/chrome_render_message_filter.cc#newcode371 chrome/browser/renderer_host/chrome_render_message_filter.cc:371: base::FieldTrialList::FindFullName(trial_name); On 2015/01/05 21:05:05, James Hawkins wrote: ...
5 years, 11 months ago (2015-01-05 21:28:58 UTC) #37
James Hawkins
On 2015/01/05 21:28:58, Georges Khalil wrote: > @jhawkings: PTAnL. > > https://codereview.chromium.org/700953002/diff/420001/chrome/browser/renderer_host/chrome_render_message_filter.cc > File chrome/browser/renderer_host/chrome_render_message_filter.cc ...
5 years, 11 months ago (2015-01-05 23:29:38 UTC) #38
Alexei Svitkine (slow)
On 2015/01/05 23:29:38, James Hawkins wrote: > OK, then let's get that changed (I'm not ...
5 years, 11 months ago (2015-01-06 14:53:12 UTC) #39
Georges Khalil
On 2015/01/06 14:53:12, Alexei Svitkine wrote: > On 2015/01/05 23:29:38, James Hawkins wrote: > > ...
5 years, 11 months ago (2015-01-12 19:56:05 UTC) #40
James Hawkins
On 2015/01/12 19:56:05, Georges Khalil wrote: > On 2015/01/06 14:53:12, Alexei Svitkine wrote: > > ...
5 years, 11 months ago (2015-01-14 19:31:42 UTC) #41
James Hawkins
On 2015/01/14 19:31:42, James Hawkins wrote: > On 2015/01/12 19:56:05, Georges Khalil wrote: > > ...
5 years, 11 months ago (2015-01-14 19:32:27 UTC) #42
Georges Khalil
On 2015/01/14 19:32:27, James Hawkins wrote: > On 2015/01/14 19:31:42, James Hawkins wrote: > > ...
5 years, 11 months ago (2015-01-14 19:55:31 UTC) #43
Alexei Svitkine (slow)
(I suggested offline to Georges to file a bug and cc isherman@ so we can ...
5 years, 11 months ago (2015-01-14 20:09:31 UTC) #44
James Hawkins
lgtm
5 years, 11 months ago (2015-01-14 20:46:09 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/700953002/480001
5 years, 11 months ago (2015-01-14 20:50:42 UTC) #47
commit-bot: I haz the power
Committed patchset #10 (id:480001)
5 years, 11 months ago (2015-01-14 22:33:10 UTC) #48
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 22:34:52 UTC) #49
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/a0a12d5a031878cee3e8532bc5817ad84a55cd87
Cr-Commit-Position: refs/heads/master@{#311554}

Powered by Google App Engine
This is Rietveld 408576698