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

Issue 2955005: Factor out PluginGroup into a separate class in common/. (Closed)

Created:
10 years, 5 months ago by Bernhard Bauer
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr., danno
Visibility:
Public.

Description

Factor out PluginGroup into a separate class in common/. Moving PluginGroup into common is necessary in order to enable the renderer process to check if a plugin is outdated. Also, make PluginUpdater static since it doesn't contain any state anymore. BUG=47731 TEST=PluginGroupTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52307

Patch Set 1 #

Patch Set 2 : fix unit test compile errors #

Total comments: 7

Patch Set 3 : Make plugin_updater into a namespace #

Total comments: 15

Patch Set 4 : style #

Patch Set 5 : fix unit test compile error #

Total comments: 3

Patch Set 6 : baseline updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -493 lines) Patch
M chrome/browser/dom_ui/plugins_ui.cc View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/plugin_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugin_updater.h View 1 2 3 2 chunks +16 lines, -120 lines 0 comments Download
M chrome/browser/plugin_updater.cc View 1 2 3 6 chunks +37 lines, -352 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 chunks +1 line, -1 line 0 comments Download
A chrome/common/plugin_group.h View 1 2 3 1 chunk +115 lines, -0 lines 0 comments Download
A chrome/common/plugin_group.cc View 1 2 3 4 5 1 chunk +295 lines, -0 lines 0 comments Download
A + chrome/common/plugin_group_unittest.cc View 2 3 4 7 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bernhard Bauer
Please review.
10 years, 5 months ago (2010-07-12 08:37:05 UTC) #1
viettrungluu
Sounds like a good idea to me. Longer term, I'd also like to see more ...
10 years, 5 months ago (2010-07-12 14:20:15 UTC) #2
Bernhard Bauer
On 2010/07/12 14:20:15, viettrungluu wrote: > Sounds like a good idea to me. Longer term, ...
10 years, 5 months ago (2010-07-12 15:01:06 UTC) #3
viettrungluu
LGTM with nits (most of which were probably there before) fixed. Just send it through ...
10 years, 5 months ago (2010-07-12 16:26:14 UTC) #4
Bernhard Bauer
On 2010/07/12 16:26:14, viettrungluu wrote: > LGTM with nits (most of which were probably there ...
10 years, 5 months ago (2010-07-12 17:06:41 UTC) #5
viettrungluu
(Just reiterating my LGTM....) And adding danno so that he's aware of his pain....
10 years, 5 months ago (2010-07-13 03:27:49 UTC) #6
mavrommatis
10 years, 5 months ago (2010-07-13 04:39:38 UTC) #7
LGTM 

There are some updates, if you want to include in this CL, otherwise we can make
a new one.

http://codereview.chromium.org/2955005/diff/17001/18007
File chrome/common/plugin_group.cc (right):

http://codereview.chromium.org/2955005/diff/17001/18007#newcode22
chrome/common/plugin_group.cc:22: { "Flash", "Shockwave Flash", "", "",
"10.0.45",
this was updated to 10.1.53 at some point, and then it was probably lost in the
numerous reverts. 

Same for Mac.

http://codereview.chromium.org/2955005/diff/17001/18007#newcode42
chrome/common/plugin_group.cc:42: { "Adobe Reader 9", "Adobe Acrobat", "9",
"10", "9.3.2",
9.3.3 was released last weak to fix new vulnerabilities.

http://codereview.chromium.org/2955005/diff/17001/18007#newcode44
chrome/common/plugin_group.cc:44: { "Adobe Reader 8", "Adobe Acrobat", "0", "9",
 "8.2.2",
Version 8 is also at 8.2.3 now.

Powered by Google App Engine
This is Rietveld 408576698