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_CLOUD_POLICY_CACHE_BASE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_CACHE_BASE_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CACHE_BASE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CACHE_BASE_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
10 #include "base/threading/non_thread_safe.h" | 9 #include "base/threading/non_thread_safe.h" |
11 #include "base/time.h" | 10 #include "base/time.h" |
12 #include "chrome/browser/policy/cloud_policy_subsystem.h" | 11 #include "chrome/browser/policy/cloud_policy_subsystem.h" |
13 #include "chrome/browser/policy/policy_map.h" | 12 #include "chrome/browser/policy/policy_map.h" |
14 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 13 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
15 | 14 |
16 namespace policy { | 15 namespace policy { |
17 | 16 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 163 |
165 // Cache observers that are registered with this cache. | 164 // Cache observers that are registered with this cache. |
166 ObserverList<Observer, true> observer_list_; | 165 ObserverList<Observer, true> observer_list_; |
167 | 166 |
168 DISALLOW_COPY_AND_ASSIGN(CloudPolicyCacheBase); | 167 DISALLOW_COPY_AND_ASSIGN(CloudPolicyCacheBase); |
169 }; | 168 }; |
170 | 169 |
171 } // namespace policy | 170 } // namespace policy |
172 | 171 |
173 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CACHE_BASE_H_ | 172 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CACHE_BASE_H_ |
OLD | NEW |