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

Issue 2627513002: Plugin Power Saver: Refactor some Tiny plugin code and tests. (Closed)

Created:
3 years, 11 months ago by tommycli
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, groby-ooo-7-16, jam, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plugin Power Saver: Refactor some Tiny plugin code and tests. In preparation to also filter same-origin tiny plugins, this CL: 1) Updates the browser test to also test that the Omnibox icon is shown when tiny plugins are blocked. (Accidentally regressed this in original CL). 2) Fixes obsolete enum naming to reflect that TINY plugins have complex treatment (rather than always being marked essential). 3) Fixes obsolete enum naming for UNKNOWN_SIZE also. BUG=675707 Review-Url: https://codereview.chromium.org/2627513002 Cr-Commit-Position: refs/heads/master@{#442674} Committed: https://chromium.googlesource.com/chromium/src/+/c3a36842e3a92c456fd2c9c2e99f8da6f1cde2f8

Patch Set 1 #

Patch Set 2 : update enum without changing numbering. #

Patch Set 3 : fix #

Patch Set 4 : Also update histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -18 lines) Patch
M chrome/browser/plugins/plugin_power_saver_browsertest.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/public/renderer/render_frame.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/pepper/plugin_power_saver_helper.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/peripheral_content_heuristic.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/peripheral_content_heuristic_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (22 generated)
tommycli
jochen: PTAL, This CL has no behavior changes, but fixes some outdated names and adds ...
3 years, 11 months ago (2017-01-10 02:24:39 UTC) #9
jochen (gone - plz use gerrit)
I can only approve UseCounter additions to histograms.xml - please ask somebody from tools/metrics/OWNERS to ...
3 years, 11 months ago (2017-01-10 09:49:24 UTC) #12
tommycli
On 2017/01/10 09:49:24, jochen wrote: > I can only approve UseCounter additions to histograms.xml - ...
3 years, 11 months ago (2017-01-10 16:09:44 UTC) #13
tommycli
isherman: PTAL histograms.xml
3 years, 11 months ago (2017-01-10 16:10:00 UTC) #15
Ilya Sherman
histograms.xml lgtm
3 years, 11 months ago (2017-01-10 20:26:08 UTC) #20
tommycli
On 2017/01/10 20:26:08, Ilya Sherman wrote: > histograms.xml lgtm isherman: Thanks!
3 years, 11 months ago (2017-01-10 20:26:48 UTC) #24
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/2627513002/60001
3 years, 11 months ago (2017-01-10 20:27:27 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 20:34:55 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c3a36842e3a92c456fd2c9c2e99f...

Powered by Google App Engine
This is Rietveld 408576698