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

Unified Diff: chrome/browser/extensions/scripting_permissions_modifier_unittest.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
« no previous file with comments | « chrome/browser/extensions/scripting_permissions_modifier.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/scripting_permissions_modifier_unittest.cc
diff --git a/chrome/browser/extensions/scripting_permissions_modifier_unittest.cc b/chrome/browser/extensions/scripting_permissions_modifier_unittest.cc
index 3654d33f81aed0ad5039c1d98e62868c39b13258..d369633009db4460944769938e605501d7563571 100644
--- a/chrome/browser/extensions/scripting_permissions_modifier_unittest.cc
+++ b/chrome/browser/extensions/scripting_permissions_modifier_unittest.cc
@@ -357,9 +357,9 @@ TEST_F(ScriptingPermissionsModifierUnitTest,
const char* kHasSetPref = "has_set_script_all_urls";
ExtensionPrefs* prefs = ExtensionPrefs::Get(profile());
prefs->UpdateExtensionPref(extension->id(), kAllowedPref,
- new base::FundamentalValue(false));
+ new base::Value(false));
prefs->UpdateExtensionPref(extension->id(), kHasSetPref,
- new base::FundamentalValue(true));
+ new base::Value(true));
// The modifier should still return the correct value and should fix the
// preferences.
« no previous file with comments | « chrome/browser/extensions/scripting_permissions_modifier.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698