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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/component_updater/chrome_component_updater_configurator_unittest.cc
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
index 8208865be516ff57a0849f0da610393bff50bbca..dc0b98c839f086b2cdb1cd59014e8b3786fdd491 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
@@ -157,17 +157,17 @@ TEST_F(ChromeComponentUpdaterConfiguratorTest, TestEnabledComponentUpdates) {
// Tests the component updates are disabled.
pref_service()->SetManagedPref("component_updates.component_updates_enabled",
- new base::FundamentalValue(false));
+ new base::Value(false));
EXPECT_FALSE(config->EnabledComponentUpdates());
// Tests the component updates are enabled.
pref_service()->SetManagedPref("component_updates.component_updates_enabled",
- new base::FundamentalValue(true));
+ new base::Value(true));
EXPECT_TRUE(config->EnabledComponentUpdates());
// Sanity check setting the preference back to |false| and then removing it.
pref_service()->SetManagedPref("component_updates.component_updates_enabled",
- new base::FundamentalValue(false));
+ new base::Value(false));
EXPECT_FALSE(config->EnabledComponentUpdates());
pref_service()->RemoveManagedPref(
"component_updates.component_updates_enabled");

Powered by Google App Engine
This is Rietveld 408576698