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

Unified Diff: ash/system/night_light/night_light_controller.h

Issue 2921973002: Hide Night Light behind a flag (Closed)
Patch Set: James' comments Created 3 years, 6 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 | « ash/shell.cc ('k') | ash/system/night_light/night_light_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/night_light/night_light_controller.h
diff --git a/ash/system/night_light/night_light_controller.h b/ash/system/night_light/night_light_controller.h
index 8066d7c1ca45f55ac4a8e1353a0f54d89959a97d..bdef68d407bf91d9935b6562a33318449b371332 100644
--- a/ash/system/night_light/night_light_controller.h
+++ b/ash/system/night_light/night_light_controller.h
@@ -35,6 +35,9 @@ class ASH_EXPORT NightLightController : public SessionObserver {
explicit NightLightController(SessionController* session_controller);
~NightLightController() override;
+ // Returns true if the NightLight feature is enabled in the flags.
+ static bool IsFeatureEnabled();
+
static void RegisterPrefs(PrefRegistrySimple* registry);
void AddObserver(Observer* observer);
« no previous file with comments | « ash/shell.cc ('k') | ash/system/night_light/night_light_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698