| OLD | NEW | 
|    1 // Copyright 2013 The Chromium Authors. All rights reserved. |    1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #include "chrome/browser/chromeos/policy/login_screen_power_management_policy.h" |    5 #include "chrome/browser/chromeos/policy/login_screen_power_management_policy.h" | 
|    6  |    6  | 
|    7 #include "base/json/json_reader.h" |    7 #include "base/json/json_reader.h" | 
|    8 #include "base/strings/string_number_conversions.h" |    8 #include "base/strings/string_number_conversions.h" | 
|    9 #include "base/values.h" |    9 #include "base/values.h" | 
|   10 #include "chrome/browser/policy/configuration_policy_handler.h" |  | 
|   11 #include "chromeos/dbus/power_policy_controller.h" |   10 #include "chromeos/dbus/power_policy_controller.h" | 
 |   11 #include "components/policy/core/browser/configuration_policy_handler.h" | 
|   12 #include "components/policy/core/browser/policy_error_map.h" |   12 #include "components/policy/core/browser/policy_error_map.h" | 
|   13 #include "grit/component_strings.h" |   13 #include "grit/component_strings.h" | 
|   14 #include "policy/policy_constants.h" |   14 #include "policy/policy_constants.h" | 
|   15  |   15  | 
|   16 namespace policy { |   16 namespace policy { | 
|   17  |   17  | 
|   18 namespace { |   18 namespace { | 
|   19   const char kScreenDimDelayAC[] = "AC.Delays.ScreenDim"; |   19   const char kScreenDimDelayAC[] = "AC.Delays.ScreenDim"; | 
|   20   const char kScreenOffDelayAC[] = "AC.Delays.ScreenOff"; |   20   const char kScreenOffDelayAC[] = "AC.Delays.ScreenOff"; | 
|   21   const char kIdleDelayAC[] = "AC.Delays.Idle"; |   21   const char kIdleDelayAC[] = "AC.Delays.Idle"; | 
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  187 const base::Value* LoginScreenPowerManagementPolicy::GetLidCloseAction() const { |  187 const base::Value* LoginScreenPowerManagementPolicy::GetLidCloseAction() const { | 
|  188   return lid_close_action_.get(); |  188   return lid_close_action_.get(); | 
|  189 } |  189 } | 
|  190  |  190  | 
|  191 const base::Value* LoginScreenPowerManagementPolicy:: |  191 const base::Value* LoginScreenPowerManagementPolicy:: | 
|  192     GetUserActivityScreenDimDelayScale() const { |  192     GetUserActivityScreenDimDelayScale() const { | 
|  193   return user_activity_screen_dim_delay_scale_.get(); |  193   return user_activity_screen_dim_delay_scale_.get(); | 
|  194 } |  194 } | 
|  195  |  195  | 
|  196 } // namespace policy |  196 } // namespace policy | 
| OLD | NEW |