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

Issue 2642263002: Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. (Closed)

Created:
3 years, 11 months ago by nigeltao1
Modified:
3 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, asvitkine+watch_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. BUG=577685 Review-Url: https://codereview.chromium.org/2642263002 Cr-Commit-Position: refs/heads/master@{#448132} Committed: https://chromium.googlesource.com/chromium/src/+/f007b70562c84bb115c9178c59a507ee61a7a00d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. #

Total comments: 3

Patch Set 3 : Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. #

Total comments: 1

Patch Set 4 : Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. #

Total comments: 5

Patch Set 5 : Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -29 lines) Patch
M chrome/browser/metrics/field_trial_synchronizer.cc View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/renderer_configuration.mojom View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.cc View 1 2 3 2 chunks +6 lines, -16 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
nigeltao1
https://codereview.chromium.org/2642263002/diff/1/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/1/chrome/browser/metrics/field_trial_synchronizer.cc#newcode48 chrome/browser/metrics/field_trial_synchronizer.cc:48: chrome::mojom::FieldTrialGroupSetterAssociatedPtr ftgs_interface; I dropped some temporary printf's here, and ...
3 years, 11 months ago (2017-01-20 00:35:59 UTC) #4
Sam McNally
https://codereview.chromium.org/2642263002/diff/1/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/1/chrome/browser/metrics/field_trial_synchronizer.cc#newcode48 chrome/browser/metrics/field_trial_synchronizer.cc:48: chrome::mojom::FieldTrialGroupSetterAssociatedPtr ftgs_interface; On 2017/01/20 00:35:59, nigeltao1 wrote: > I ...
3 years, 11 months ago (2017-01-20 02:35:38 UTC) #7
nigeltao1
On 2017/01/20 02:35:38, Sam McNally wrote: > 20 to 30 notifications or 20 to 30 ...
3 years, 11 months ago (2017-01-20 02:45:22 UTC) #8
Sam McNally
lgtm
3 years, 11 months ago (2017-01-20 02:57:59 UTC) #9
nigeltao1
R=sky,tsepez for OWNERS.
3 years, 11 months ago (2017-01-20 05:46:14 UTC) #11
sky
https://codereview.chromium.org/2642263002/diff/20001/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/20001/chrome/browser/metrics/field_trial_synchronizer.cc#newcode46 chrome/browser/metrics/field_trial_synchronizer.cc:46: // channel might be NULL in tests. optional: NULL ...
3 years, 11 months ago (2017-01-20 17:12:59 UTC) #12
Tom Sepez
lgtm
3 years, 11 months ago (2017-01-20 17:42:40 UTC) #13
nigeltao1
https://codereview.chromium.org/2642263002/diff/20001/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/20001/chrome/browser/metrics/field_trial_synchronizer.cc#newcode50 chrome/browser/metrics/field_trial_synchronizer.cc:50: channel->GetRemoteAssociatedInterface(&field_trial_group_setter); On 2017/01/20 17:12:59, sky wrote: > It seems ...
3 years, 11 months ago (2017-01-20 22:40:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642263002/20001
3 years, 11 months ago (2017-01-20 22:41:31 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/346836)
3 years, 11 months ago (2017-01-20 22:50:19 UTC) #18
sky
I don't think you should keep the binding around, I think you should group things ...
3 years, 11 months ago (2017-01-21 00:23:23 UTC) #19
nigeltao1
On 2017/01/21 00:23:23, sky wrote: > I don't think you should keep the binding around, ...
3 years, 11 months ago (2017-01-21 06:10:20 UTC) #20
sky
I'm not sure that having SetFieldTrialGroup() on an interface separate from FieldTrialRecorder make sense. Is ...
3 years, 11 months ago (2017-01-23 16:15:04 UTC) #21
sky
+asvitkine for how to group field trial related functionality at the mojom level.
3 years, 11 months ago (2017-01-23 16:57:48 UTC) #23
Alexei Svitkine (slow)
https://codereview.chromium.org/2642263002/diff/40001/chrome/common/field_trial_recorder.mojom File chrome/common/field_trial_recorder.mojom (left): https://codereview.chromium.org/2642263002/diff/40001/chrome/common/field_trial_recorder.mojom#oldcode10 chrome/common/field_trial_recorder.mojom:10: FieldTrialActivated(string trial_name); I think grouping things here as you ...
3 years, 11 months ago (2017-01-23 21:26:26 UTC) #24
nigeltao1
On 2017/01/23 16:15:04, sky wrote: > I'm not sure that having SetFieldTrialGroup() on an interface ...
3 years, 10 months ago (2017-02-02 06:06:04 UTC) #25
nigeltao1
On 2017/01/23 21:26:26, Alexei Svitkine (very slow) wrote: > https://codereview.chromium.org/2642263002/diff/40001/chrome/common/field_trial_recorder.mojom > File chrome/common/field_trial_recorder.mojom (left): > ...
3 years, 10 months ago (2017-02-02 06:06:30 UTC) #26
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2642263002/diff/60001/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/60001/chrome/browser/metrics/field_trial_synchronizer.cc#newcode46 chrome/browser/metrics/field_trial_synchronizer.cc:46: // channel might be NULL in tests. Nit: ...
3 years, 10 months ago (2017-02-02 17:29:50 UTC) #27
Tom Sepez
lgtm https://codereview.chromium.org/2642263002/diff/60001/chrome/common/renderer_configuration.mojom File chrome/common/renderer_configuration.mojom (right): https://codereview.chromium.org/2642263002/diff/60001/chrome/common/renderer_configuration.mojom#newcode27 chrome/common/renderer_configuration.mojom:27: // - "MarkNonSecureAs" / "show-non-secure-passwords-cc-ui" On 2017/02/02 17:29:50, ...
3 years, 10 months ago (2017-02-02 18:42:51 UTC) #28
Alexei Svitkine (slow)
The rules would be documented in base/metrics/field_trial.h Perhaps we can just point to that? On ...
3 years, 10 months ago (2017-02-02 19:34:20 UTC) #29
nigeltao1
sky, WDYT? https://codereview.chromium.org/2642263002/diff/60001/chrome/browser/metrics/field_trial_synchronizer.cc File chrome/browser/metrics/field_trial_synchronizer.cc (right): https://codereview.chromium.org/2642263002/diff/60001/chrome/browser/metrics/field_trial_synchronizer.cc#newcode46 chrome/browser/metrics/field_trial_synchronizer.cc:46: // channel might be NULL in tests. ...
3 years, 10 months ago (2017-02-03 01:52:49 UTC) #30
sky
LGTM
3 years, 10 months ago (2017-02-03 16:42:16 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642263002/80001
3 years, 10 months ago (2017-02-04 00:04:25 UTC) #34
commit-bot: I haz the power
3 years, 10 months ago (2017-02-04 00:54:08 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f007b70562c84bb115c9178c59a5...

Powered by Google App Engine
This is Rietveld 408576698