summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/configuration_policy_handler.h
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 13:44:38 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 13:44:38 +0000
commit2424cc519cb55267d8209519750436d875da43b6 (patch)
tree2bf523654246474b796e32755df164a538dddf10 /chrome/browser/policy/configuration_policy_handler.h
parent6192505d8a12237ce95a49e2d4697a71f54e847a (diff)
downloadchromium_src-2424cc519cb55267d8209519750436d875da43b6.zip
chromium_src-2424cc519cb55267d8209519750436d875da43b6.tar.gz
chromium_src-2424cc519cb55267d8209519750436d875da43b6.tar.bz2
Add policies to control power management on the Chrome OS login screen
This CL adds a device policy that controls power management on the login screen. Before this CL, powerd controlled power policy on the login screen, always using built-in defaults. After this CL, Chrome contols power policy by explicitly sending it to powerd whenever the login screen is shown. The built-in defaults match those that powerd used to have but they can now be overridden through device policy. BUG=241794 TEST=Full coverage with new unit and broweser tests Review URL: https://chromiumcodereview.appspot.com/18153007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy/configuration_policy_handler.h')
-rw-r--r--chrome/browser/policy/configuration_policy_handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/policy/configuration_policy_handler.h b/chrome/browser/policy/configuration_policy_handler.h
index 449a11a..bd87dc0 100644
--- a/chrome/browser/policy/configuration_policy_handler.h
+++ b/chrome/browser/policy/configuration_policy_handler.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_
#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_H_
+#include <string>
#include <vector>
#include "base/basictypes.h"
@@ -24,6 +25,8 @@ class PolicyMap;
// their corresponding preferences, and to check whether the policies are valid.
class ConfigurationPolicyHandler {
public:
+ static std::string ValueTypeToString(Value::Type type);
+
ConfigurationPolicyHandler();
virtual ~ConfigurationPolicyHandler();