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

Unified Diff: chrome/browser/policy/configuration_policy_reader.h

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the unittest fix Created 9 years, 2 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: chrome/browser/policy/configuration_policy_reader.h
diff --git a/chrome/browser/policy/configuration_policy_reader.h b/chrome/browser/policy/configuration_policy_reader.h
index 80d9cea53b5aefc94e7156c091b7427599e79dd9..dcd36bbf14e7d02be31b84825ab8e14ba9797120 100644
--- a/chrome/browser/policy/configuration_policy_reader.h
+++ b/chrome/browser/policy/configuration_policy_reader.h
@@ -116,15 +116,7 @@ class PolicyStatus {
// it is set to false. This is for the about:policy UI to display.
ListValue* GetPolicyStatusList(bool* any_policies_set) const;
- // Returns a string16 containing the actual name of the policy corresponding
- // to |policy_type|. Returns an empty string if there is no such policy_type
- // among the policies supported by the client.
- static string16 GetPolicyName(ConfigurationPolicyType policy_type);
-
private:
- typedef ConfigurationPolicyProvider::PolicyDefinitionList
- PolicyDefinitionList;
-
// Add the policy information for |policy| to the ListValue pointed to be
// |list| as it is returned by the different ConfigurationPolicyReader
// objects. Returns true if a policy was added and false otherwise.

Powered by Google App Engine
This is Rietveld 408576698