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_CROS_USER_POLICY_CACHE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CROS_USER_POLICY_CACHE_H_ |
6 #define CHROME_BROWSER_POLICY_CROS_USER_POLICY_CACHE_H_ | 6 #define CHROME_BROWSER_POLICY_CROS_USER_POLICY_CACHE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/policy/cloud_policy_cache_base.h" | 16 #include "chrome/browser/policy/cloud_policy_cache_base.h" |
16 #include "chrome/browser/policy/user_policy_disk_cache.h" | 17 #include "chrome/browser/policy/user_policy_disk_cache.h" |
17 #include "chrome/browser/policy/user_policy_token_cache.h" | 18 #include "chrome/browser/policy/user_policy_token_cache.h" |
18 | 19 |
19 namespace chromeos { | 20 namespace chromeos { |
20 class SessionManagerClient; | 21 class SessionManagerClient; |
21 } | 22 } |
22 | 23 |
23 namespace policy { | 24 namespace policy { |
24 | 25 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 base::WeakPtrFactory<UserPolicyDiskCache::Delegate> | 118 base::WeakPtrFactory<UserPolicyDiskCache::Delegate> |
118 legacy_policy_cache_delegate_factory_; | 119 legacy_policy_cache_delegate_factory_; |
119 scoped_refptr<UserPolicyDiskCache> legacy_policy_cache_; | 120 scoped_refptr<UserPolicyDiskCache> legacy_policy_cache_; |
120 | 121 |
121 DISALLOW_COPY_AND_ASSIGN(CrosUserPolicyCache); | 122 DISALLOW_COPY_AND_ASSIGN(CrosUserPolicyCache); |
122 }; | 123 }; |
123 | 124 |
124 } // namespace policy | 125 } // namespace policy |
125 | 126 |
126 #endif // CHROME_BROWSER_POLICY_CROS_USER_POLICY_CACHE_H_ | 127 #endif // CHROME_BROWSER_POLICY_CROS_USER_POLICY_CACHE_H_ |
OLD | NEW |