Chromium Code Reviews| Index: content/browser/plugin_service_impl.cc |
| =================================================================== |
| --- content/browser/plugin_service_impl.cc (revision 204062) |
| +++ content/browser/plugin_service_impl.cc (working copy) |
| @@ -196,6 +196,10 @@ |
| path = command_line->GetSwitchValuePath(switches::kExtraPluginDir); |
| if (!path.empty()) |
| plugin_list_->AddExtraPluginDir(path); |
| + |
| + if (command_line->HasSwitch(switches::kDisablePluginsDiscovery)) { |
|
Bernhard Bauer
2013/06/06 08:28:50
Braces aren't required, and Chromium style is to r
seva
2013/06/06 22:11:25
Done.
|
| + plugin_list_->DisablePluginsDiscovery(); |
| + } |
| } |
| void PluginServiceImpl::StartWatchingPlugins() { |