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

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager_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/chromeos/system/automatic_reboot_manager_unittest.cc
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
index fc0d65d8d4e46963b18cb91a39382f63804f6b82..36930fe1cac2e19c8e4e5c1828e967880f1e030f 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
@@ -373,7 +373,7 @@ void AutomaticRebootManagerBasicTest::SetRebootAfterUpdate(
bool expect_reboot) {
reboot_after_update_ = reboot_after_update;
local_state_.SetManagedPref(prefs::kRebootAfterUpdate,
- new base::FundamentalValue(reboot_after_update));
+ new base::Value(reboot_after_update));
task_runner_->RunUntilIdle();
EXPECT_EQ(expect_reboot ? 1 : 0,
power_manager_client_->num_request_restart_calls());
@@ -388,7 +388,7 @@ void AutomaticRebootManagerBasicTest::SetUptimeLimit(
} else {
local_state_.SetManagedPref(
prefs::kUptimeLimit,
- new base::FundamentalValue(static_cast<int>(limit.InSeconds())));
+ new base::Value(static_cast<int>(limit.InSeconds())));
}
task_runner_->RunUntilIdle();
EXPECT_EQ(expect_reboot ? 1 : 0,

Powered by Google App Engine
This is Rietveld 408576698