| 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_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
| 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // Processes plugin policies. Returns true if the specified policy | 93 // Processes plugin policies. Returns true if the specified policy |
| 94 // is a plugin-related policy. ApplyPluginPolicy assumes the ownership | 94 // is a plugin-related policy. ApplyPluginPolicy assumes the ownership |
| 95 // of |value| in the case that the policy is plugin-specific. | 95 // of |value| in the case that the policy is plugin-specific. |
| 96 bool ApplyPluginPolicy(PolicyType policy, Value* value); | 96 bool ApplyPluginPolicy(PolicyType policy, Value* value); |
| 97 | 97 |
| 98 // Handles sync-related policies. Returns true if the policy was handled. | 98 // Handles sync-related policies. Returns true if the policy was handled. |
| 99 // Assumes ownership of |value| in that case. | 99 // Assumes ownership of |value| in that case. |
| 100 bool ApplySyncPolicy(PolicyType policy, Value* value); | 100 bool ApplySyncPolicy(PolicyType policy, Value* value); |
| 101 | 101 |
| 102 // Handles policies that affect AutoFill. Returns true if the policy was |
| 103 // handled and assumes ownership of |value| in that case. |
| 104 bool ApplyAutoFillPolicy(PolicyType policy, Value* value); |
| 105 |
| 102 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); | 106 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); |
| 103 }; | 107 }; |
| 104 | 108 |
| 105 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ | 109 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
| OLD | NEW |