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

Issue 2034933002: Make field trials activated in the GPU process be reflected in browser. (Closed)

Created:
4 years, 6 months ago by Alexei Svitkine (slow)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, piman+watch_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make field trials activated in the GPU process be reflected in browser. This allows field trials that are queried in the GPU process be reflected in UMA and crash reports. Currently, they are being omitted. This follows https://codereview.chromium.org/2020413002 - which refactored this functionality out of the renderer process code, so that it could be re-used (i.e. in this CL). One modification is made to that refactoring, which is removing the sending of the IPC message from the syncer class, since GPU and renderer processes require different IPC messages. BUG=616171 Committed: https://crrev.com/5dc812a7851fa06da2ffd20f06c00aa553e1e19e Cr-Commit-Position: refs/heads/master@{#398345}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Comment tweak #

Patch Set 3 : Add a unit test for child_process_field_trial_syncer.cc #

Total comments: 2

Patch Set 4 : IWYU #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -31 lines) Patch
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/variations/child_process_field_trial_syncer.h View 3 chunks +7 lines, -11 lines 0 comments Download
M chrome/common/variations/child_process_field_trial_syncer.cc View 4 chunks +4 lines, -10 lines 0 comments Download
A chrome/common/variations/child_process_field_trial_syncer_unittest.cc View 1 2 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/gpu/chrome_content_gpu_client.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/gpu/chrome_content_gpu_client.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_thread_observer.cc View 2 chunks +8 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 5 chunks +13 lines, -3 lines 0 comments Download
M content/common/gpu_host_messages.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 4 chunks +9 lines, -3 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +8 lines, -1 line 0 comments Download
M content/public/gpu/content_gpu_client.h View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
Alexei Svitkine (slow)
rkaplow: overall review piman: *gpu* changes OWNERS thestig: chrome/renderer OWNERS
4 years, 6 months ago (2016-06-03 15:06:03 UTC) #6
rkaplow
lgtm https://codereview.chromium.org/2034933002/diff/40001/content/common/gpu_host_messages.h File content/common/gpu_host_messages.h (right): https://codereview.chromium.org/2034933002/diff/40001/content/common/gpu_host_messages.h#newcode255 content/common/gpu_host_messages.h:255: // Sent by the gpu process to indicate ...
4 years, 6 months ago (2016-06-03 18:01:31 UTC) #8
piman
lgtm
4 years, 6 months ago (2016-06-03 20:44:52 UTC) #9
Alexei Svitkine (slow)
done Also +wfh for gpu_host_messages.h IPC review. https://codereview.chromium.org/2034933002/diff/40001/content/common/gpu_host_messages.h File content/common/gpu_host_messages.h (right): https://codereview.chromium.org/2034933002/diff/40001/content/common/gpu_host_messages.h#newcode255 content/common/gpu_host_messages.h:255: // Sent ...
4 years, 6 months ago (2016-06-03 20:49:06 UTC) #11
Will Harris
have no security issues with the changes to content/common/gpu_host_messages.h so lgtm However, I couldn't find ...
4 years, 6 months ago (2016-06-03 20:57:58 UTC) #12
Alexei Svitkine (slow)
On 2016/06/03 20:57:58, Will Harris wrote: > However, I couldn't find the tests for this ...
4 years, 6 months ago (2016-06-06 15:19:49 UTC) #13
Alexei Svitkine (slow)
Still not sure how to do the more complicated multi-process test I described in the ...
4 years, 6 months ago (2016-06-06 20:03:21 UTC) #14
Will Harris
Sorry, I was getting around to replying to this. I don't think we have a ...
4 years, 6 months ago (2016-06-06 20:11:31 UTC) #15
piman
On Mon, Jun 6, 2016 at 1:11 PM, <wfh@chromium.org> wrote: > Sorry, I was getting ...
4 years, 6 months ago (2016-06-06 21:17:36 UTC) #16
Alexei Svitkine (slow)
Yeah, I was thinking of a browser test. But is there a way to make ...
4 years, 6 months ago (2016-06-06 21:19:33 UTC) #17
Lei Zhang
chrome/renderer lgtm https://codereview.chromium.org/2034933002/diff/80001/chrome/renderer/chrome_render_thread_observer.h File chrome/renderer/chrome_render_thread_observer.h (right): https://codereview.chromium.org/2034933002/diff/80001/chrome/renderer/chrome_render_thread_observer.h#newcode34 chrome/renderer/chrome_render_thread_observer.h:34: public base::FieldTrialList::Observer { IWYU: #include "base/metrics/field_trial.h"
4 years, 6 months ago (2016-06-06 23:18:20 UTC) #18
piman
On Mon, Jun 6, 2016 at 2:18 PM, Alexei Svitkine <asvitkine@chromium.org> wrote: > Yeah, I ...
4 years, 6 months ago (2016-06-06 23:25:11 UTC) #19
Alexei Svitkine (slow)
Thanks. I'll land this now and can look at writing a multiprocess browser test in ...
4 years, 6 months ago (2016-06-07 14:48:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034933002/100001
4 years, 6 months ago (2016-06-07 14:49:18 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/240265)
4 years, 6 months ago (2016-06-07 16:03:53 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034933002/100001
4 years, 6 months ago (2016-06-07 17:58:29 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 6 months ago (2016-06-07 18:20:45 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 18:23:02 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5dc812a7851fa06da2ffd20f06c00aa553e1e19e
Cr-Commit-Position: refs/heads/master@{#398345}

Powered by Google App Engine
This is Rietveld 408576698