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

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed)

Created:
7 years, 1 month ago by elijahtaylor1
Modified:
6 years, 11 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, jam, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Sam Clegg, piman+watch_chromium.org, binji, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Proxy private UMA pepper interface for out-of-process and NaCl plugins. BUG=317833 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246962

Patch Set 1 #

Patch Set 2 : fix TODO #

Patch Set 3 : reviewer feedback, moved host to renderer #

Patch Set 4 : add back browser impl for testing #

Total comments: 1

Patch Set 5 : fixed chrome/renderer impl, removed other impls #

Patch Set 6 : remove errant file, fix comment typo #

Total comments: 59

Patch Set 7 : addressing feedback #

Total comments: 12

Patch Set 8 : feedback, fix test #

Patch Set 9 : rebase #

Patch Set 10 : fix gypi include #

Patch Set 11 : fix nacl uma browser_test, add tests #

Total comments: 4

Patch Set 12 : make bad args check like old version #

Patch Set 13 : remove unused histogram names #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+952 lines, -381 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 2 comments Download
M chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
A chrome/renderer/pepper/pepper_uma_host.h View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/renderer/pepper/pepper_uma_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +162 lines, -0 lines 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -0 lines 0 comments Download
M content/renderer/pepper/plugin_module.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/pepper/ppb_uma_private_impl.h View 1 2 3 4 1 chunk +0 lines, -19 lines 0 comments Download
M content/renderer/pepper/ppb_uma_private_impl.cc View 1 2 3 4 1 chunk +0 lines, -97 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi_cpp_private/library.dsc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M ppapi/api/private/ppb_uma_private.idl View 1 2 4 chunks +13 lines, -4 lines 0 comments Download
M ppapi/c/private/ppb_uma_private.h View 1 2 4 chunks +12 lines, -8 lines 0 comments Download
A ppapi/cpp/private/uma_private.h View 1 2 3 4 5 6 7 1 chunk +45 lines, -0 lines 0 comments Download
A ppapi/cpp/private/uma_private.cc View 1 2 3 4 5 6 7 1 chunk +70 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 3 4 5 6 7 8 9 chunks +115 lines, -135 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 3 4 5 6 7 8 5 chunks +50 lines, -72 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -20 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
A ppapi/proxy/uma_private_resource.h View 1 2 3 4 5 6 7 1 chunk +54 lines, -0 lines 0 comments Download
A ppapi/proxy/uma_private_resource.cc View 1 2 3 4 5 6 7 1 chunk +89 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/singleton_resource_id.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_uma.cc View 1 2 3 4 5 6 7 1 chunk +16 lines, -13 lines 0 comments Download
M ppapi/thunk/interfaces_legacy.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_private_no_permissions.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_uma_private_thunk.cc View 1 2 3 4 5 6 7 1 chunk +84 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_uma_singleton_api.h View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
bbudge
High level comment: It might speed reviews to break out the IDL and C++ wrapper ...
7 years, 1 month ago (2013-11-14 01:13:16 UTC) #1
elijahtaylor1
@yzshen: PTAL. This CL is the chrome side of the test case for the issue ...
7 years ago (2013-11-27 01:07:56 UTC) #2
elijahtaylor1
@bbudge, yzshen: PTAL, the implementation now works (thanks Yuzhu!) I'm going to get others to ...
7 years ago (2013-11-28 00:54:03 UTC) #3
yzshen1
Mostly looks good, only some nits. Thanks! https://codereview.chromium.org/61643022/diff/120001/chrome/chrome_renderer.gypi File chrome/chrome_renderer.gypi (right): https://codereview.chromium.org/61643022/diff/120001/chrome/chrome_renderer.gypi#newcode273 chrome/chrome_renderer.gypi:273: 'renderer/pepper/pepper_uma_renderer_host.h', nit: ...
7 years ago (2013-12-04 19:32:51 UTC) #4
bbudge
https://codereview.chromium.org/61643022/diff/120001/chrome/renderer/pepper/pepper_uma_renderer_host.cc File chrome/renderer/pepper/pepper_uma_renderer_host.cc (right): https://codereview.chromium.org/61643022/diff/120001/chrome/renderer/pepper/pepper_uma_renderer_host.cc#newcode81 chrome/renderer/pepper/pepper_uma_renderer_host.cc:81: histogram.substr(0, nacl_prefix.size()) == nacl_prefix) { You could avoid some ...
7 years ago (2013-12-04 21:08:29 UTC) #5
elijahtaylor1
Thanks for all the great feedback, sorry my turnaround time was really bad. I'm OOO ...
7 years ago (2013-12-21 02:26:21 UTC) #6
elijahtaylor1
PTAL
6 years, 11 months ago (2014-01-07 19:44:34 UTC) #7
yzshen1
Only a few more nits. Thanks! https://codereview.chromium.org/61643022/diff/120001/ppapi/cpp/private/uma_private.h File ppapi/cpp/private/uma_private.h (right): https://codereview.chromium.org/61643022/diff/120001/ppapi/cpp/private/uma_private.h#newcode21 ppapi/cpp/private/uma_private.h:21: int32_t HistogramCustomTimes(const std::string& ...
6 years, 11 months ago (2014-01-08 00:26:23 UTC) #8
bbudge
Looks pretty good. Just nits. https://codereview.chromium.org/61643022/diff/140001/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc File chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc (right): https://codereview.chromium.org/61643022/diff/140001/chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc#newcode114 chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc:114: // time of the ...
6 years, 11 months ago (2014-01-08 19:01:49 UTC) #9
elijahtaylor1
https://codereview.chromium.org/61643022/diff/120001/ppapi/cpp/private/uma_private.h File ppapi/cpp/private/uma_private.h (right): https://codereview.chromium.org/61643022/diff/120001/ppapi/cpp/private/uma_private.h#newcode21 ppapi/cpp/private/uma_private.h:21: int32_t HistogramCustomTimes(const std::string& name, On 2014/01/08 00:26:24, yzshen1 wrote: ...
6 years, 11 months ago (2014-01-08 23:59:40 UTC) #10
elijahtaylor1
PTAL I've rebased to newer chrome since the version I was using previously was pretty ...
6 years, 11 months ago (2014-01-15 19:42:21 UTC) #11
bbudge
lgtm
6 years, 11 months ago (2014-01-16 18:08:54 UTC) #12
yzshen1
lgtm
6 years, 11 months ago (2014-01-16 18:12:19 UTC) #13
elijahtaylor1
need OWNERS approval: darin@: chrome/renderer/chrome_content_renderer_client.cc chrome/renderer/chrome_content_renderer_client.h content/content_renderer.gypi native_client_sdk/src/libraries/ppapi_cpp_private/library.dsc tsepez@: IPC review for ppapi/proxy/ppapi_messages.h
6 years, 11 months ago (2014-01-16 20:54:27 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/61643022/diff/1180002/chrome/renderer/pepper/pepper_uma_host.cc File chrome/renderer/pepper/pepper_uma_host.cc (right): https://codereview.chromium.org/61643022/diff/1180002/chrome/renderer/pepper/pepper_uma_host.cc#newcode33 chrome/renderer/pepper/pepper_uma_host.cc:33: "D95DDB0F180CF797AD30E221D659A9E2B6404BC8" // see crbug.com/317833 The bug doesn't seem to ...
6 years, 11 months ago (2014-01-16 22:12:46 UTC) #15
elijahtaylor1
https://codereview.chromium.org/61643022/diff/1180002/chrome/renderer/pepper/pepper_uma_host.cc File chrome/renderer/pepper/pepper_uma_host.cc (right): https://codereview.chromium.org/61643022/diff/1180002/chrome/renderer/pepper/pepper_uma_host.cc#newcode33 chrome/renderer/pepper/pepper_uma_host.cc:33: "D95DDB0F180CF797AD30E221D659A9E2B6404BC8" // see crbug.com/317833 On 2014/01/16 22:12:47, Alexei Svitkine ...
6 years, 11 months ago (2014-01-16 22:55:25 UTC) #16
Tom Sepez
messages LGTM
6 years, 11 months ago (2014-01-16 23:16:33 UTC) #17
Alexei Svitkine (slow)
LGTM
6 years, 11 months ago (2014-01-17 16:21:18 UTC) #18
elijahtaylor1
@jam: I had darin as an reviewer for OWNER of these files but I think ...
6 years, 11 months ago (2014-01-17 20:18:38 UTC) #19
binji
native_client_sdk lgtm
6 years, 11 months ago (2014-01-17 21:48:27 UTC) #20
jam
chrome lgtm with the one change https://codereview.chromium.org/61643022/diff/1700001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/61643022/diff/1700001/chrome/renderer/chrome_content_renderer_client.cc#newcode1321 chrome/renderer/chrome_content_renderer_client.cc:1321: const GURL& url, ...
6 years, 11 months ago (2014-01-18 02:03:04 UTC) #21
elijahtaylor1
Comment for jam@ https://codereview.chromium.org/61643022/diff/1700001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/61643022/diff/1700001/chrome/renderer/chrome_content_renderer_client.cc#newcode1321 chrome/renderer/chrome_content_renderer_client.cc:1321: const GURL& url, const std::set<std::string>& whitelist) ...
6 years, 11 months ago (2014-01-22 20:15:03 UTC) #22
elijahtaylor1
On 2014/01/22 20:15:03, elijahtaylor1 wrote: > Comment for jam@ > > https://codereview.chromium.org/61643022/diff/1700001/chrome/renderer/chrome_content_renderer_client.cc > File chrome/renderer/chrome_content_renderer_client.cc ...
6 years, 11 months ago (2014-01-24 00:00:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/elijahtaylor@chromium.org/61643022/1700001
6 years, 11 months ago (2014-01-24 00:01:36 UTC) #24
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=250933
6 years, 11 months ago (2014-01-24 02:39:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/elijahtaylor@chromium.org/61643022/1700001
6 years, 11 months ago (2014-01-24 19:04:06 UTC) #26
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 20:49:43 UTC) #27
Message was sent while issue was closed.
Change committed as 246962

Powered by Google App Engine
This is Rietveld 408576698