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

Unified Diff: chrome/common/plugin_group.cc

Issue 3038055: Re-enable the link to disable invididual plug-ins in a group. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/resources/plugins.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_group.cc
diff --git a/chrome/common/plugin_group.cc b/chrome/common/plugin_group.cc
index 8e2368dcd1f5edd1455c441c4eb4c606bf532175..19d291261106b1c1f58578ee6e6073d18507fca2 100644
--- a/chrome/common/plugin_group.cc
+++ b/chrome/common/plugin_group.cc
@@ -287,9 +287,9 @@ DictionaryValue* PluginGroup::GetDataForUI() const {
bool plugin_disabled_by_policy = group_disabled_by_policy ||
IsPluginNameDisabledByPolicy(web_plugin.name);
if (plugin_disabled_by_policy) {
- result->SetString("enabledMode", "disabledByPolicy");
+ plugin_file->SetString("enabledMode", "disabledByPolicy");
} else {
- result->SetString("enabledMode",
+ plugin_file->SetString("enabledMode",
web_plugin.enabled ? "enabled" : "disabledByUser");
}
plugin_file->SetInteger("priority", priority);
« no previous file with comments | « chrome/browser/resources/plugins.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698