OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CLOUD_POLICY_INVALIDATOR_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/threading/thread_checker.h" | 19 #include "base/threading/thread_checker.h" |
20 #include "components/invalidation/public/invalidation.h" | 20 #include "components/invalidation/public/invalidation.h" |
21 #include "components/invalidation/public/invalidation_handler.h" | 21 #include "components/invalidation/public/invalidation_handler.h" |
22 #include "components/policy/core/common/cloud/cloud_policy_core.h" | 22 #include "components/policy/core/common/cloud/cloud_policy_core.h" |
23 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 23 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
| 24 #include "components/policy/proto/device_management_backend.pb.h" |
24 #include "google/cacheinvalidation/include/types.h" | 25 #include "google/cacheinvalidation/include/types.h" |
25 #include "policy/proto/device_management_backend.pb.h" | |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class Clock; | 28 class Clock; |
29 class SequencedTaskRunner; | 29 class SequencedTaskRunner; |
30 } | 30 } |
31 | 31 |
32 namespace invalidation { | 32 namespace invalidation { |
33 class InvalidationService; | 33 class InvalidationService; |
34 } | 34 } |
35 | 35 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 241 |
242 // WeakPtrFactory used to create callbacks to this object. | 242 // WeakPtrFactory used to create callbacks to this object. |
243 base::WeakPtrFactory<CloudPolicyInvalidator> weak_factory_; | 243 base::WeakPtrFactory<CloudPolicyInvalidator> weak_factory_; |
244 | 244 |
245 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); | 245 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); |
246 }; | 246 }; |
247 | 247 |
248 } // namespace policy | 248 } // namespace policy |
249 | 249 |
250 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ | 250 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ |
OLD | NEW |