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

Unified Diff: chrome/browser/plugins/plugin_policy_handler.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/plugins/plugin_policy_handler.cc
diff --git a/chrome/browser/plugins/plugin_policy_handler.cc b/chrome/browser/plugins/plugin_policy_handler.cc
index 01945024ba1654e9ab884040cc5584eb5bc9f77a..a6eca4e73a0e3ee414704dc9e5e908960821e6e6 100644
--- a/chrome/browser/plugins/plugin_policy_handler.cc
+++ b/chrome/browser/plugins/plugin_policy_handler.cc
@@ -55,17 +55,15 @@ void PluginPolicyHandler::ProcessPolicy(const policy::PolicyMap& policies,
continue;
if (base::MatchPattern(ChromeContentClient::kPDFPluginName, plugin) &&
!policies.GetValue(policy::key::kAlwaysOpenPdfExternally)) {
- prefs->SetValue(
- prefs::kPluginsAlwaysOpenPdfExternally,
- base::MakeUnique<base::FundamentalValue>(disable_pdf_plugin));
+ prefs->SetValue(prefs::kPluginsAlwaysOpenPdfExternally,
+ base::MakeUnique<base::Value>(disable_pdf_plugin));
}
if ((base::MatchPattern(
PluginMetadata::kAdobeFlashPlayerGroupName, plugin) ||
base::MatchPattern(content::kFlashPluginName, plugin)) &&
!policies.GetValue(policy::key::kDefaultPluginsSetting)) {
- prefs->SetValue(
- prefs::kManagedDefaultPluginsSetting,
- base::MakeUnique<base::FundamentalValue>(flash_content_setting));
+ prefs->SetValue(prefs::kManagedDefaultPluginsSetting,
+ base::MakeUnique<base::Value>(flash_content_setting));
}
}
}
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter_unittest.cc ('k') | chrome/browser/policy/cloud/cloud_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698