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

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

Issue 385263004: Get rid of some uses of CreateIntegerValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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_info_message_filter_unittest.cc
diff --git a/chrome/browser/plugins/plugin_info_message_filter_unittest.cc b/chrome/browser/plugins/plugin_info_message_filter_unittest.cc
index 0aea581e4a6ad26e9257be61a4910e6fc077b9c6..3b612dce19d357cd4ea98bd0f7bacf0fcca915ce 100644
--- a/chrome/browser/plugins/plugin_info_message_filter_unittest.cc
+++ b/chrome/browser/plugins/plugin_info_message_filter_unittest.cc
@@ -258,7 +258,7 @@ TEST_F(PluginInfoMessageFilterTest, GetPluginContentSetting) {
// Block plugins via policy.
TestingPrefServiceSyncable* prefs = profile()->GetTestingPrefService();
prefs->SetManagedPref(prefs::kManagedDefaultPluginsSetting,
- base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
+ new base::FundamentalValue(CONTENT_SETTING_BLOCK));
// All plugins should be blocked now.
VerifyPluginContentSetting(host, "foo", CONTENT_SETTING_BLOCK, true, true);
« no previous file with comments | « chrome/browser/net/proxy_policy_handler_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