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

Issue 2514593002: Field trial synchronization to PPAPI process. (Closed)

Created:
4 years, 1 month ago by Alexei Svitkine (slow)
Modified:
4 years ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, raymes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Field trial synchronization to PPAPI process. This enables the same field trial synchronization mechanism we use for renderers and GPU process for the PPAPI process. With this CL, crash reports from PPAPI process will include active field trials and field trials activated in the PPAPI process will be reported to UMA and crash. Moves child_process_field_trial_syncer.cc from chrome to components along the way. BUG=582602 TEST=In an official Chrome build with crash reporting enabled, verify you have Variations hashes listed in chrome://version (restart if you don't) and then go to http://www.adobe.com/software/flash/about/ and load some flash content before going to chrome://ppapiflashcrash to cause a PPAPI crash. Then, find the the crash entry that should now appear on chrome://crashes and view it on http://crash/ via the Server ID and check that the crash report has entries under Experiments (under Fields). Committed: https://crrev.com/92c1a939725f1108fe9dcca812d5e6a65defc24a Cr-Commit-Position: refs/heads/master@{#434384}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase and small param change. #

Patch Set 3 : Add missing line to sync command line. #

Patch Set 4 : Rebase. #

Patch Set 5 : Fix namespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -254 lines) Patch
M chrome/common/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/common/variations/child_process_field_trial_syncer.h View 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/common/variations/child_process_field_trial_syncer.cc View 1 1 chunk +0 lines, -66 lines 0 comments Download
D chrome/common/variations/child_process_field_trial_syncer_unittest.cc View 1 1 chunk +0 lines, -96 lines 0 comments Download
M chrome/gpu/chrome_content_gpu_client.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/gpu/chrome_content_gpu_client.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.h View 1 2 3 3 chunks +2 lines, -10 lines 0 comments Download
M chrome/renderer/chrome_render_thread_observer.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/variations/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A + components/variations/child_process_field_trial_syncer.h View 1 4 chunks +10 lines, -7 lines 0 comments Download
A + components/variations/child_process_field_trial_syncer.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
A + components/variations/child_process_field_trial_syncer_unittest.cc View 1 5 chunks +6 lines, -5 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 4 chunks +12 lines, -1 line 0 comments Download
M content/ppapi_plugin/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 4 chunks +10 lines, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 3 chunks +10 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (36 generated)
Alexei Svitkine (slow)
piman, wfh: PTAL piman, the current CL is adding a dependency from content to variations ...
4 years, 1 month ago (2016-11-17 22:53:27 UTC) #6
piman
LGTM from my side. https://codereview.chromium.org/2514593002/diff/20001/content/ppapi_plugin/BUILD.gn File content/ppapi_plugin/BUILD.gn (right): https://codereview.chromium.org/2514593002/diff/20001/content/ppapi_plugin/BUILD.gn#newcode49 content/ppapi_plugin/BUILD.gn:49: "//components/variations", I think this is ...
4 years, 1 month ago (2016-11-18 00:24:34 UTC) #7
Alexei Svitkine (slow)
+jochen for chrome/renderer OWNERS +raymes for ppapi OWNERS wfh - PTAL as well
4 years, 1 month ago (2016-11-18 23:32:59 UTC) #11
Alexei Svitkine (slow)
Actually -raymes as I have PPAI review from piman already and I'm just missing security ...
4 years, 1 month ago (2016-11-18 23:34:31 UTC) #13
Will Harris
This is cool. thanks for doing this. lgtm. Was there manual testing to verify crashes ...
4 years, 1 month ago (2016-11-19 00:15:09 UTC) #14
jochen (gone - plz use gerrit)
lgtm
4 years, 1 month ago (2016-11-21 11:06:03 UTC) #17
Alexei Svitkine (slow)
On Fri, Nov 18, 2016 at 7:15 PM, <wfh@chromium.org> wrote: > This is cool. thanks ...
4 years, 1 month ago (2016-11-21 15:56:47 UTC) #18
Will Harris
On 2016/11/21 15:56:47, Alexei Svitkine (slow) wrote: > On Fri, Nov 18, 2016 at 7:15 ...
4 years, 1 month ago (2016-11-21 17:39:36 UTC) #19
Alexei Svitkine (slow)
Thanks, will add the TEST= line after I confirm that it works - building an ...
4 years, 1 month ago (2016-11-21 20:54:30 UTC) #20
Alexei Svitkine (slow)
chrome://ppapiflashcrash seems to be broken on TOT/canary :( (It works on stable Chrome though.) So ...
4 years ago (2016-11-23 21:34:31 UTC) #28
Alexei Svitkine (slow)
In patch set 4: - Rebased on top of https://codereview.chromium.org/2525973003 and https://codereview.chromium.org/2504163005/ - Added TEST= ...
4 years ago (2016-11-24 17:20:24 UTC) #36
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/2514593002/120001
4 years ago (2016-11-24 18:30:17 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years ago (2016-11-24 19:51:51 UTC) #48
commit-bot: I haz the power
4 years ago (2016-11-24 19:55:36 UTC) #50
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/92c1a939725f1108fe9dcca812d5e6a65defc24a
Cr-Commit-Position: refs/heads/master@{#434384}

Powered by Google App Engine
This is Rietveld 408576698