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

Unified Diff: ash/system/night_light/tray_night_light_unittest.cc

Issue 2921973002: Hide Night Light behind a flag (Closed)
Patch Set: Created 3 years, 7 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: ash/system/night_light/tray_night_light_unittest.cc
diff --git a/ash/system/night_light/tray_night_light_unittest.cc b/ash/system/night_light/tray_night_light_unittest.cc
index 3a8ca565a7629c72a82e928d85717b41e9d80d01..8464b2ba7ba0038a8fe5b1a15176d411149710e0 100644
--- a/ash/system/night_light/tray_night_light_unittest.cc
+++ b/ash/system/night_light/tray_night_light_unittest.cc
@@ -27,6 +27,7 @@ class TrayNightLightTest : public test::AshTestBase {
// ash::test::AshTestBase:
void SetUp() override {
+ NightLightController::EnableFeatureForTesting();
test::AshTestBase::SetUp();
GetSessionControllerClient()->Reset();
GetSessionControllerClient()->AddUserSession(kFakeUserEmail);

Powered by Google App Engine
This is Rietveld 408576698