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_USER_POLICY_CACHE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_USER_POLICY_CACHE_H_ |
6 #define CHROME_BROWSER_POLICY_USER_POLICY_CACHE_H_ | 6 #define CHROME_BROWSER_POLICY_USER_POLICY_CACHE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "base/values.h" | 12 #include "base/values.h" |
14 #include "chrome/browser/policy/cloud_policy_cache_base.h" | 13 #include "chrome/browser/policy/cloud_policy_cache_base.h" |
15 #include "chrome/browser/policy/user_policy_disk_cache.h" | 14 #include "chrome/browser/policy/user_policy_disk_cache.h" |
16 | 15 |
17 class FilePath; | 16 class FilePath; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // True if at least one attempt was made to refresh the cache with a freshly | 92 // True if at least one attempt was made to refresh the cache with a freshly |
94 // fetched policy, or if there is no need to wait for that. | 93 // fetched policy, or if there is no need to wait for that. |
95 bool fetch_ready_; | 94 bool fetch_ready_; |
96 | 95 |
97 DISALLOW_COPY_AND_ASSIGN(UserPolicyCache); | 96 DISALLOW_COPY_AND_ASSIGN(UserPolicyCache); |
98 }; | 97 }; |
99 | 98 |
100 } // namespace policy | 99 } // namespace policy |
101 | 100 |
102 #endif // CHROME_BROWSER_POLICY_USER_POLICY_CACHE_H_ | 101 #endif // CHROME_BROWSER_POLICY_USER_POLICY_CACHE_H_ |
OLD | NEW |