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

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

Issue 7848025: Store plug-in enabled/disabled state in PluginPrefs instead of WebPluginInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 9 years, 3 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_lib_mac.mm
diff --git a/webkit/plugins/npapi/plugin_lib_mac.mm b/webkit/plugins/npapi/plugin_lib_mac.mm
index e943736b3be8d37b0ee088dfb0762a3b9a215f37..cdb8ac5068878ceac4cd2852e0b6587e68ce9bad 100644
--- a/webkit/plugins/npapi/plugin_lib_mac.mm
+++ b/webkit/plugins/npapi/plugin_lib_mac.mm
@@ -129,7 +129,6 @@ bool ReadPlistPluginInfo(const FilePath& filename, CFBundleRef bundle,
info->desc = base::SysNSStringToUTF16(plugin_desc);
else
info->desc = UTF8ToUTF16(filename.BaseName().value());
- info->enabled = WebPluginInfo::USER_ENABLED;
return true;
}
@@ -223,7 +222,6 @@ bool ReadSTRPluginInfo(const FilePath& filename, CFBundleRef bundle,
info->desc = UTF8ToUTF16(plugin_descs[0]);
else
info->desc = UTF8ToUTF16(filename.BaseName().value());
- info->enabled = WebPluginInfo::USER_ENABLED;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698