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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "components/invalidation/invalidation_handler.h" |
16 #include "components/policy/core/common/cloud/cloud_policy_core.h" | 17 #include "components/policy/core/common/cloud/cloud_policy_core.h" |
17 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 18 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
18 #include "google/cacheinvalidation/include/types.h" | 19 #include "google/cacheinvalidation/include/types.h" |
19 #include "sync/internal_api/public/base/invalidation.h" | 20 #include "sync/internal_api/public/base/invalidation.h" |
20 #include "sync/notifier/invalidation_handler.h" | |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class Clock; | 23 class Clock; |
24 class SequencedTaskRunner; | 24 class SequencedTaskRunner; |
25 } | 25 } |
26 | 26 |
27 namespace invalidation { | 27 namespace invalidation { |
28 class InvalidationService; | 28 class InvalidationService; |
29 } | 29 } |
30 | 30 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 // A thread checker to make sure that callbacks are invoked on the correct | 217 // A thread checker to make sure that callbacks are invoked on the correct |
218 // thread. | 218 // thread. |
219 base::ThreadChecker thread_checker_; | 219 base::ThreadChecker thread_checker_; |
220 | 220 |
221 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); | 221 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); |
222 }; | 222 }; |
223 | 223 |
224 } // namespace policy | 224 } // namespace policy |
225 | 225 |
226 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ | 226 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ |
OLD | NEW |