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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator_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
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 725c79456f8258fdb80bafe98f916b8d42bae440..a8a7a6bc74ea5359835c0bdbc209e354ba555ba9 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