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_DEVICE_POLICY_CACHE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ |
6 #define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ | 6 #define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
10 #include "chrome/browser/chromeos/login/signed_settings.h" | 9 #include "chrome/browser/chromeos/login/signed_settings.h" |
11 #include "chrome/browser/policy/cloud_policy_cache_base.h" | 10 #include "chrome/browser/policy/cloud_policy_cache_base.h" |
12 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" | 11 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
13 | 12 |
14 namespace chromeos { | 13 namespace chromeos { |
15 class SignedSettingsHelper; | 14 class SignedSettingsHelper; |
16 } // namespace chromeos | 15 } // namespace chromeos |
17 | 16 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_; | 112 base::WeakPtrFactory<DevicePolicyCache> weak_ptr_factory_; |
114 | 113 |
115 bool policy_fetch_pending_; | 114 bool policy_fetch_pending_; |
116 | 115 |
117 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache); | 116 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCache); |
118 }; | 117 }; |
119 | 118 |
120 } // namespace policy | 119 } // namespace policy |
121 | 120 |
122 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ | 121 #endif // CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_ |
OLD | NEW |