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

Issue 16369004: Adding --disable-plugins-discovery command line switch to not load third-party plugins from common … (Closed)

Created:
7 years, 6 months ago by seva
Modified:
7 years, 6 months ago
Reviewers:
Bernhard Bauer, sky, Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, sail+watch_chromium.org
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Adding --disable-plugins-discovery command line switch to not load third-party plugins from common locations. When --disable-plugins-discovery switch is set, any built-in plugins are still loaded as well as third-party ones that are explicitly requested with --extra-plugin-dir or --load-plugin switches. No other plugins are loaded. Switch is effective on posix, mac and win platforms. BUG=239325 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205850

Patch Set 1 #

Total comments: 24

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -15 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 1 chunk +6 lines, -3 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 2 chunks +8 lines, -3 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.cc View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_mac.mm View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_list_posix.cc View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_win.cc View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
seva
Hi Bernhard, Can you please make a code review. Note the additional change in browser_process_impl.cc ...
7 years, 6 months ago (2013-06-06 03:46:59 UTC) #1
Bernhard Bauer
Getting close, just some smaller changes. https://codereview.chromium.org/16369004/diff/1/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): https://codereview.chromium.org/16369004/diff/1/chrome/browser/browser_process_impl.h#newcode252 chrome/browser/browser_process_impl.h:252: const CommandLine& command_line_; ...
7 years, 6 months ago (2013-06-06 08:28:50 UTC) #2
seva
Also adding sky@chromium.org, joi@chromium.org as reviewers for content/ and chrome/ stuff. https://codereview.chromium.org/16369004/diff/1/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): ...
7 years, 6 months ago (2013-06-06 22:11:24 UTC) #3
Jói
content_switches changes LGTM
7 years, 6 months ago (2013-06-06 22:14:24 UTC) #4
seva
Speaking of testing. I tested this under Linux; manually. Is it good enough if I ...
7 years, 6 months ago (2013-06-07 03:11:43 UTC) #5
Bernhard Bauer
LGTM! Just one nit at the end. https://codereview.chromium.org/16369004/diff/1/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/16369004/diff/1/chrome/browser/browser_process_impl.cc#newcode888 chrome/browser/browser_process_impl.cc:888: if (!command_line_.HasSwitch(switches::kDisablePluginsDiscovery)) ...
7 years, 6 months ago (2013-06-07 10:33:43 UTC) #6
sky
https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h#newcode252 chrome/browser/browser_process_impl.h:252: const CommandLine& command_line_; I get worried about lifetime when ...
7 years, 6 months ago (2013-06-07 17:22:51 UTC) #7
seva
https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h#newcode252 chrome/browser/browser_process_impl.h:252: const CommandLine& command_line_; On 2013/06/07 17:22:51, sky wrote: > ...
7 years, 6 months ago (2013-06-07 19:02:35 UTC) #8
sky
https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h#newcode252 chrome/browser/browser_process_impl.h:252: const CommandLine& command_line_; On 2013/06/07 19:02:36, sevalo wrote: > ...
7 years, 6 months ago (2013-06-07 19:48:55 UTC) #9
Jói
I don't know off the top of my head, but I wouldn't keep the reference, ...
7 years, 6 months ago (2013-06-08 14:35:31 UTC) #10
seva
https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h#newcode252 chrome/browser/browser_process_impl.h:252: const CommandLine& command_line_; On 2013/06/07 19:48:56, sky wrote: > ...
7 years, 6 months ago (2013-06-11 03:02:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sevalo@google.com/16369004/60001
7 years, 6 months ago (2013-06-11 05:59:46 UTC) #12
Bernhard Bauer
On 2013/06/11 03:02:31, seva wrote: > https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h > File chrome/browser/browser_process_impl.h (right): > > https://codereview.chromium.org/16369004/diff/14002/chrome/browser/browser_process_impl.h#newcode252 > ...
7 years, 6 months ago (2013-06-11 06:00:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sevalo@google.com/16369004/60001
7 years, 6 months ago (2013-06-11 08:34:33 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=8253
7 years, 6 months ago (2013-06-11 08:44:22 UTC) #15
seva
Sky, I have addressed your last comment, can you please have another look? I need ...
7 years, 6 months ago (2013-06-11 22:48:13 UTC) #16
sky
LGTM
7 years, 6 months ago (2013-06-11 23:26:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sevalo@google.com/16369004/60001
7 years, 6 months ago (2013-06-11 23:51:26 UTC) #18
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-06-12 04:24:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sevalo@google.com/16369004/60001
7 years, 6 months ago (2013-06-12 17:24:32 UTC) #20
commit-bot: I haz the power
7 years, 6 months ago (2013-06-12 17:30:49 UTC) #21
Message was sent while issue was closed.
Change committed as 205850

Powered by Google App Engine
This is Rietveld 408576698