| 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 <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 12 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 13 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 14 #include "base/values.h" | 12 #include "base/values.h" |
| 15 #include "chrome/browser/policy/configuration_policy_provider.h" | 13 #include "chrome/browser/policy/configuration_policy_provider.h" |
| 16 #include "chrome/browser/policy/configuration_policy_store.h" | 14 #include "chrome/browser/policy/configuration_policy_store.h" |
| 17 #include "chrome/common/pref_store.h" | 15 #include "chrome/common/pref_store.h" |
| 18 | 16 |
| 19 class CommandLine; | 17 class CommandLine; |
| 20 | 18 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 bool ApplyPluginPolicy(PolicyType policy, Value* value); | 96 bool ApplyPluginPolicy(PolicyType policy, Value* value); |
| 99 | 97 |
| 100 // Handles sync-related policies. Returns true if the policy was handled. | 98 // Handles sync-related policies. Returns true if the policy was handled. |
| 101 // Assumes ownership of |value| in that case. | 99 // Assumes ownership of |value| in that case. |
| 102 bool ApplySyncPolicy(PolicyType policy, Value* value); | 100 bool ApplySyncPolicy(PolicyType policy, Value* value); |
| 103 | 101 |
| 104 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); | 102 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); |
| 105 }; | 103 }; |
| 106 | 104 |
| 107 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ | 105 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
| OLD | NEW |