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

Issue 2020413002: Refactor out a new class for syncing field trials in child processes. (Closed)

Created:
4 years, 6 months ago by Alexei Svitkine (slow)
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang, rkaplow
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor out a new class for syncing field trials in child processes. This is split off out of chrome_render_thread_observer.cc so that we can use it in other processes than the renderer. For example, in the GPU process which now receives field trial and feature state on the command-line. (That will be done in a follow-up CL.) BUG=616171 Committed: https://crrev.com/23974972332452d270ba2af7fad725ce1a5e397c Cr-Commit-Position: refs/heads/master@{#397316}

Patch Set 1 : #

Patch Set 2 : Tweak param names & comments. #

Total comments: 12

Patch Set 3 : Address comments. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -55 lines) Patch
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/variations/child_process_field_trial_syncer.h View 1 2 1 chunk +54 lines, -0 lines 3 comments Download
A chrome/common/variations/child_process_field_trial_syncer.cc View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.h View 1 3 chunks +4 lines, -9 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.cc View 1 6 chunks +4 lines, -46 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
Alexei Svitkine (slow)
rkaplow: chrome/common/variations thestig: chrome/ OWNERS
4 years, 6 months ago (2016-06-01 16:23:55 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/2020413002/diff/60001/chrome/common/variations/child_process_field_trial_syncer.cc File chrome/common/variations/child_process_field_trial_syncer.cc (right): https://codereview.chromium.org/2020413002/diff/60001/chrome/common/variations/child_process_field_trial_syncer.cc#newcode34 chrome/common/variations/child_process_field_trial_syncer.cc:34: std::set<std::string> initially_active_trials_set; IWYU: <set> https://codereview.chromium.org/2020413002/diff/60001/chrome/common/variations/child_process_field_trial_syncer.cc#newcode36 chrome/common/variations/child_process_field_trial_syncer.cc:36: initially_active_trials_set.insert(std::move(entry.trial_name)); IYWU: ...
4 years, 6 months ago (2016-06-01 20:52:51 UTC) #8
Alexei Svitkine (slow)
Thanks! rkaplow: friendly ping https://codereview.chromium.org/2020413002/diff/60001/chrome/common/variations/child_process_field_trial_syncer.cc File chrome/common/variations/child_process_field_trial_syncer.cc (right): https://codereview.chromium.org/2020413002/diff/60001/chrome/common/variations/child_process_field_trial_syncer.cc#newcode34 chrome/common/variations/child_process_field_trial_syncer.cc:34: std::set<std::string> initially_active_trials_set; On 2016/06/01 20:52:51, ...
4 years, 6 months ago (2016-06-01 21:00:39 UTC) #9
rkaplow
https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h File chrome/common/variations/child_process_field_trial_syncer.h (right): https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h#newcode43 chrome/common/variations/child_process_field_trial_syncer.h:43: // base::FieldTrialList::Observer: ?
4 years, 6 months ago (2016-06-01 21:08:38 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h File chrome/common/variations/child_process_field_trial_syncer.h (right): https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h#newcode43 chrome/common/variations/child_process_field_trial_syncer.h:43: // base::FieldTrialList::Observer: On 2016/06/01 21:08:38, rkaplow wrote: > ? ...
4 years, 6 months ago (2016-06-01 21:13:58 UTC) #11
rkaplow
lgtm https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h File chrome/common/variations/child_process_field_trial_syncer.h (right): https://codereview.chromium.org/2020413002/diff/80001/chrome/common/variations/child_process_field_trial_syncer.h#newcode43 chrome/common/variations/child_process_field_trial_syncer.h:43: // base::FieldTrialList::Observer: On 2016/06/01 21:13:58, Alexei Svitkine (slow) ...
4 years, 6 months ago (2016-06-01 21:16:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020413002/80001
4 years, 6 months ago (2016-06-01 21:20:29 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239296)
4 years, 6 months ago (2016-06-02 01:45:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020413002/80001
4 years, 6 months ago (2016-06-02 01:51:52 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239421)
4 years, 6 months ago (2016-06-02 02:42:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020413002/80001
4 years, 6 months ago (2016-06-02 05:54:49 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-02 06:34:55 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 06:36:24 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/23974972332452d270ba2af7fad725ce1a5e397c
Cr-Commit-Position: refs/heads/master@{#397316}

Powered by Google App Engine
This is Rietveld 408576698