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

Unified Diff: chrome/browser/dom_ui/plugins_ui.cc

Issue 5699005: Policy: Re-enabled plugin still disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace fixes only. Trybot happiness still applies. Created 9 years, 11 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: chrome/browser/dom_ui/plugins_ui.cc
diff --git a/chrome/browser/dom_ui/plugins_ui.cc b/chrome/browser/dom_ui/plugins_ui.cc
index 6cb237e2b030fba62e7818db75eac0f11630d215..d5e9879f157453e1645b01aa18e9aa2777051e02 100644
--- a/chrome/browser/dom_ui/plugins_ui.cc
+++ b/chrome/browser/dom_ui/plugins_ui.cc
@@ -83,8 +83,6 @@ void PluginsUIHTMLSource::StartDataRequest(const std::string& path,
l10n_util::GetStringUTF16(IDS_PLUGINS_DOWNLOAD));
localized_strings.SetString("pluginName",
l10n_util::GetStringUTF16(IDS_PLUGINS_NAME));
- localized_strings.SetString("pluginPriority",
- l10n_util::GetStringUTF16(IDS_PLUGINS_PRIORITY));
localized_strings.SetString("pluginVersion",
l10n_util::GetStringUTF16(IDS_PLUGINS_VERSION));
localized_strings.SetString("pluginDescription",
@@ -237,7 +235,7 @@ void PluginsDOMHandler::HandleEnablePluginMessage(const ListValue* args) {
if (!args->GetString(0, &file_path))
return;
- plugin_updater->EnablePluginFile(enable, file_path);
+ plugin_updater->EnablePlugin(enable, file_path);
}
// TODO(viettrungluu): We might also want to ensure that the plugins
« no previous file with comments | « chrome/browser/chromeos/gview_request_interceptor_unittest.cc ('k') | chrome/browser/plugin_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698