OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MANAGED_MODE_POLICY_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_MANAGED_MODE_POLICY_PROVIDER_H_ |
6 #define CHROME_BROWSER_POLICY_MANAGED_MODE_POLICY_PROVIDER_H_ | 6 #define CHROME_BROWSER_POLICY_MANAGED_MODE_POLICY_PROVIDER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/policy/configuration_policy_provider.h" | 9 #include "chrome/browser/policy/configuration_policy_provider.h" |
11 #include "chrome/browser/profiles/profile_keyed_service.h" | 10 #include "chrome/browser/profiles/profile_keyed_service.h" |
12 #include "chrome/common/persistent_pref_store.h" | 11 #include "chrome/common/persistent_pref_store.h" |
13 | 12 |
14 class Profile; | 13 class Profile; |
15 | 14 |
16 namespace policy { | 15 namespace policy { |
17 | 16 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void UpdatePolicyFromCache(); | 53 void UpdatePolicyFromCache(); |
55 | 54 |
56 // Used for persisting policies. Unlike other PrefStores, this one is not | 55 // Used for persisting policies. Unlike other PrefStores, this one is not |
57 // hooked up to the PrefService. | 56 // hooked up to the PrefService. |
58 scoped_refptr<PersistentPrefStore> store_; | 57 scoped_refptr<PersistentPrefStore> store_; |
59 }; | 58 }; |
60 | 59 |
61 } // namespace policy | 60 } // namespace policy |
62 | 61 |
63 #endif // CHROME_BROWSER_POLICY_MANAGED_MODE_POLICY_PROVIDER_H_ | 62 #endif // CHROME_BROWSER_POLICY_MANAGED_MODE_POLICY_PROVIDER_H_ |
OLD | NEW |