| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 
| 6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 | 9 | 
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 78   void ApplyProxySwitches(); | 78   void ApplyProxySwitches(); | 
| 79 | 79 | 
| 80   bool ApplyPolicyFromMap(PolicyType policy, Value* value, | 80   bool ApplyPolicyFromMap(PolicyType policy, Value* value, | 
| 81                           const PolicyToPreferenceMapEntry map[], int size); | 81                           const PolicyToPreferenceMapEntry map[], int size); | 
| 82 | 82 | 
| 83   // Processes proxy-specific policies. Returns true if the specified policy | 83   // Processes proxy-specific policies. Returns true if the specified policy | 
| 84   // is a proxy-related policy. ApplyProxyPolicy assumes the ownership | 84   // is a proxy-related policy. ApplyProxyPolicy assumes the ownership | 
| 85   // of |value| in the case that the policy is proxy-specific. | 85   // of |value| in the case that the policy is proxy-specific. | 
| 86   bool ApplyProxyPolicy(PolicyType policy, Value* value); | 86   bool ApplyProxyPolicy(PolicyType policy, Value* value); | 
| 87 | 87 | 
|  | 88   // Handles sync-related policies. Returns true if the policy was handled. | 
|  | 89   // Assumes ownership of |value| in that case. | 
|  | 90   bool ApplySyncPolicy(PolicyType policy, Value* value); | 
|  | 91 | 
| 88   DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); | 92   DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); | 
| 89 }; | 93 }; | 
| 90 | 94 | 
| 91 #endif  // CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 95 #endif  // CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ | 
| 92 |  | 
| OLD | NEW | 
|---|