#include "build/build_config.h"
#include "chrome/browser/component_updater/component_updater_service.h"
#include "chrome/browser/component_updater/default_component_installer.h"
-#include "chrome/browser/plugins/plugin_prefs.h"
-#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_version_info.h"
#include "chrome/common/widevine_cdm_constants.h"
// true = Add to beginning of list to override any existing registrations.
PluginService::GetInstance()->RegisterInternalPlugin(
plugin_info.ToWebPluginInfo(), true);
+ // Tell the browser to refresh the plugin list. Then tell all renderers to
+ // update their plugin list caches.
PluginService::GetInstance()->RefreshPlugins();
+ PluginService::GetInstance()->PurgePluginListCache(NULL, false);
}
} // namespace