| Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| index 87c40406d8fd9b46dc50b1c5f19762d043448f79..121986490c78193157da825f33a2ff8bc4188472 100644
|
| --- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| +++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| @@ -35,6 +35,7 @@
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/system/devicetype_utils.h"
|
| +#include "ash/system/night_light/night_light_controller.h"
|
| #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
|
| #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h"
|
| #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
|
| @@ -699,6 +700,9 @@ void AddDeviceStrings(content::WebUIDataSource* html_source) {
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| chromeos::switches::kEnableTouchCalibrationSetting));
|
|
|
| + html_source->AddBoolean("nightLightFeatureEnabled",
|
| + ash::NightLightController::IsFeatureEnabled());
|
| +
|
| LocalizedString storage_strings[] = {
|
| {"storageTitle", IDS_SETTINGS_STORAGE_TITLE},
|
| {"storageItemInUse", IDS_SETTINGS_STORAGE_ITEM_IN_USE},
|
|
|