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

Issue 674073003: Only scan for correct architecture plugin binaries (Closed)

Created:
6 years, 1 month ago by Will Harris
Modified:
6 years, 1 month ago
Reviewers:
Bernhard Bauer, ananta
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Only load platform specific architecture plugins from the correct registry hive. This fixes a regression in r298758 where if a 64-bit plugin was loaded after a 32-bit plugin, and the versions were the same, then the 32-bit plugin would be removed from the list, the 64-bit plugin plugin would be removed and neither plugin would successfully load. Solution is to only load the correct architecture plugins from the registry. BUG=428549 Committed: https://crrev.com/6c217552734bf7516fdd47495cdc37948e5d2a93 Cr-Commit-Position: refs/heads/master@{#302713}

Patch Set 1 #

Patch Set 2 : only check architecture for NPAPI plugins #

Patch Set 3 : tests have a lot of subtle expectations, so leaving the logic exactly the same as before. #

Total comments: 2

Patch Set 4 : only scan for correct arch plugins #

Total comments: 1

Patch Set 5 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M content/common/plugin_list_win.cc View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Will Harris
6 years, 1 month ago (2014-10-30 00:39:15 UTC) #2
Will Harris
I know why the tests are failing and will upload a new patchset tomororw
6 years, 1 month ago (2014-10-31 04:11:19 UTC) #3
Will Harris
ananta PTAL. thanks.
6 years, 1 month ago (2014-11-01 01:55:52 UTC) #4
Will Harris
I think ananta is OOO today, bauerb can you take a look?
6 years, 1 month ago (2014-11-03 20:06:11 UTC) #6
ananta
https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc File content/common/plugin_list_win.cc (right): https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc#newcode401 content/common/plugin_list_win.cc:401: Can we bail if wrong_architecture is true? here?
6 years, 1 month ago (2014-11-03 20:28:04 UTC) #7
Will Harris
On 2014/11/03 20:28:04, ananta wrote: > https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc > File content/common/plugin_list_win.cc (right): > > https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc#newcode401 > ...
6 years, 1 month ago (2014-11-03 20:55:29 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc File content/common/plugin_list_win.cc (right): https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc#newcode401 content/common/plugin_list_win.cc:401: On 2014/11/03 20:28:04, ananta wrote: > Can we bail ...
6 years, 1 month ago (2014-11-03 22:24:23 UTC) #9
Will Harris
On 2014/11/03 22:24:23, Bernhard Bauer wrote: > https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc > File content/common/plugin_list_win.cc (right): > > https://codereview.chromium.org/674073003/diff/40001/content/common/plugin_list_win.cc#newcode401 ...
6 years, 1 month ago (2014-11-03 22:38:12 UTC) #10
Will Harris
PTAL - this code is far simpler.
6 years, 1 month ago (2014-11-03 23:09:35 UTC) #11
ananta
lgtm https://codereview.chromium.org/674073003/diff/60001/content/common/plugin_list_win.cc File content/common/plugin_list_win.cc (right): https://codereview.chromium.org/674073003/diff/60001/content/common/plugin_list_win.cc#newcode371 content/common/plugin_list_win.cc:371: 0, Please add a comment here saying that ...
6 years, 1 month ago (2014-11-04 01:06:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674073003/80001
6 years, 1 month ago (2014-11-04 23:01:09 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-04 23:54:57 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 23:56:24 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6c217552734bf7516fdd47495cdc37948e5d2a93
Cr-Commit-Position: refs/heads/master@{#302713}

Powered by Google App Engine
This is Rietveld 408576698