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 "chrome/browser/policy/cloud/cloud_policy_core.h" | 16 #include "components/policy/core/common/cloud/cloud_policy_core.h" |
17 #include "chrome/browser/policy/cloud/cloud_policy_store.h" | 17 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
18 #include "google/cacheinvalidation/include/types.h" | 18 #include "google/cacheinvalidation/include/types.h" |
19 #include "sync/internal_api/public/base/invalidation.h" | 19 #include "sync/internal_api/public/base/invalidation.h" |
20 #include "sync/notifier/invalidation_handler.h" | 20 #include "sync/notifier/invalidation_handler.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class SequencedTaskRunner; | 23 class SequencedTaskRunner; |
24 } | 24 } |
25 | 25 |
26 namespace invalidation { | 26 namespace invalidation { |
27 class InvalidationService; | 27 class InvalidationService; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // A thread checker to make sure that callbacks are invoked on the correct | 185 // A thread checker to make sure that callbacks are invoked on the correct |
186 // thread. | 186 // thread. |
187 base::ThreadChecker thread_checker_; | 187 base::ThreadChecker thread_checker_; |
188 | 188 |
189 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); | 189 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); |
190 }; | 190 }; |
191 | 191 |
192 } // namespace policy | 192 } // namespace policy |
193 | 193 |
194 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ | 194 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ |
OLD | NEW |