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

Unified Diff: webkit/plugins/npapi/plugin_list_mac.mm

Issue 16369004: Adding --disable-plugins-discovery command line switch to not load third-party plugins from common … (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/npapi/plugin_list_mac.mm
===================================================================
--- webkit/plugins/npapi/plugin_list_mac.mm (revision 204062)
+++ webkit/plugins/npapi/plugin_list_mac.mm (working copy)
@@ -275,6 +275,10 @@
}
void PluginList::GetPluginDirectories(std::vector<base::FilePath>* plugin_dirs) {
+ if (PluginList::plugins_discovery_disabled_) {
Bernhard Bauer 2013/06/06 08:28:50 Remove braces please. Also, can you make the prev
seva 2013/06/06 22:11:25 Done.
+ return;
+ }
+
// Load from the user's area
GetPluginCommonDirectory(plugin_dirs, true);

Powered by Google App Engine
This is Rietveld 408576698