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

Issue 707193004: Plugin Power Saver: Collect size histogram on Flash Plugins users click. (Closed)

Created:
6 years, 1 month ago by tommycli
Modified:
6 years, 1 month ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plugin Power Saver: Collect size histogram on Flash Plugins users click. BUG=403800 Committed: https://crrev.com/8f72990be00c94350ef23da23da3ea8f73a04d8c Cr-Commit-Position: refs/heads/master@{#303483}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 16

Patch Set 6 : #

Total comments: 17

Patch Set 7 : #

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -10 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 8 chunks +75 lines, -7 lines 0 comments Download
M content/renderer/pepper/plugin_power_saver_helper.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +35 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
tommycli
groby/thestig: I structured the size histogram in the if (w < max_w && h < ...
6 years, 1 month ago (2014-11-07 17:23:47 UTC) #2
tommycli
isherman: What do you think of this histogram scheme? raymes: I know this adds more ...
6 years, 1 month ago (2014-11-07 18:56:18 UTC) #4
groby-ooo-7-16
I'm not clear what kind of action we can take based on this data, or ...
6 years, 1 month ago (2014-11-07 19:26:57 UTC) #5
tommycli
groby: See if you like these revised metrics better.
6 years, 1 month ago (2014-11-07 20:58:20 UTC) #6
groby-ooo-7-16
https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode193 content/renderer/pepper/pepper_plugin_instance_impl.cc:193: UMA_HISTOGRAM_SPARSE_SLOWLY( \ I think we need cutoffs - beyond ...
6 years, 1 month ago (2014-11-07 21:57:44 UTC) #7
tommycli
groby: See if you like this any better. Thanks! https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode193 content/renderer/pepper/pepper_plugin_instance_impl.cc:193: ...
6 years, 1 month ago (2014-11-07 22:46:38 UTC) #8
groby-ooo-7-16
LGTM % width/height range. (And obviously, OWNER still required) https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode193 content/renderer/pepper/pepper_plugin_instance_impl.cc:193: ...
6 years, 1 month ago (2014-11-07 23:02:20 UTC) #9
tommycli
groby: thanks for review! https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/80001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode193 content/renderer/pepper/pepper_plugin_instance_impl.cc:193: UMA_HISTOGRAM_SPARSE_SLOWLY( \ On 2014/11/07 23:02:20, ...
6 years, 1 month ago (2014-11-07 23:14:11 UTC) #10
Ilya Sherman
https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode195 content/renderer/pepper/pepper_plugin_instance_impl.cc:195: (height) ? ((width) * 100) / (height) : kInfiniteRatio); ...
6 years, 1 month ago (2014-11-07 23:20:09 UTC) #11
tommycli
isherman: thanks! https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode195 content/renderer/pepper/pepper_plugin_instance_impl.cc:195: (height) ? ((width) * 100) / (height) ...
6 years, 1 month ago (2014-11-08 00:02:25 UTC) #12
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/707193004/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/707193004/diff/100001/tools/metrics/histograms/histograms.xml#oldcode25099 tools/metrics/histograms/histograms.xml:25099: -<histogram name="Plugin.PowerSaverPeripheralHeuristic" On 2014/11/08 00:02:25, tommycli wrote: ...
6 years, 1 month ago (2014-11-08 00:06:24 UTC) #13
groby-ooo-7-16
https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode449 content/renderer/pepper/pepper_plugin_instance_impl.cc:449: 0, // minimum width On 2014/11/07 23:14:10, tommycli wrote: ...
6 years, 1 month ago (2014-11-08 00:21:37 UTC) #14
tommycli
groby/isherman: thanks! https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/100001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode449 content/renderer/pepper/pepper_plugin_instance_impl.cc:449: 0, // minimum width On 2014/11/08 00:21:36, ...
6 years, 1 month ago (2014-11-08 02:01:20 UTC) #15
raymes
lgtm I would prefer this to be landed after the refactor but if you are ...
6 years, 1 month ago (2014-11-10 02:54:30 UTC) #16
tommycli
groby/isherman/raymes: Thanks! I'll CQ it now. https://codereview.chromium.org/707193004/diff/140001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/707193004/diff/140001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode402 content/renderer/pepper/pepper_plugin_instance_impl.cc:402: enum PluginFlashTinyContentSize { ...
6 years, 1 month ago (2014-11-10 15:40:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/707193004/160001
6 years, 1 month ago (2014-11-10 15:42:03 UTC) #19
commit-bot: I haz the power
Committed patchset #9 (id:160001)
6 years, 1 month ago (2014-11-10 17:18:20 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 17:19:01 UTC) #21
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/8f72990be00c94350ef23da23da3ea8f73a04d8c
Cr-Commit-Position: refs/heads/master@{#303483}

Powered by Google App Engine
This is Rietveld 408576698