diff options
Diffstat (limited to 'chrome/browser/plugin_service.cc')
-rw-r--r-- | chrome/browser/plugin_service.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc index f16108d..12739c8 100644 --- a/chrome/browser/plugin_service.cc +++ b/chrome/browser/plugin_service.cc @@ -76,16 +76,6 @@ void PluginService::InitGlobalInstance(Profile* profile) { } } - // TODO(viettrungluu): Temporary: If the user hasn't accepted the EULA, - // disable internal Flash (if it's available). - PrefService* prefs = profile->GetPrefs(); - FilePath flash_path; - if (PathService::Get(chrome::FILE_FLASH_PLUGIN, &flash_path)) { - prefs->RegisterBooleanPref(prefs::kPluginsFlashAuthorized, false); - if (!prefs->GetBoolean(prefs::kPluginsFlashAuthorized)) - NPAPI::PluginList::Singleton()->DisablePlugin(FilePath(flash_path)); - } - // Have Chrome plugins write their data to the profile directory. GetInstance()->SetChromePluginDataDir(profile->GetPath()); } |