OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_REMOTE_COMMANDS_INVALIDATOR_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_REMOTE_COMMANDS_INVALIDATOR_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_REMOTE_COMMANDS_INVALIDATOR_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_REMOTE_COMMANDS_INVALIDATOR_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
10 #include "components/invalidation/public/invalidation_handler.h" | 10 #include "components/invalidation/public/invalidation_handler.h" |
| 11 #include "components/policy/proto/device_management_backend.pb.h" |
11 #include "google/cacheinvalidation/include/types.h" | 12 #include "google/cacheinvalidation/include/types.h" |
12 #include "policy/proto/device_management_backend.pb.h" | |
13 | 13 |
14 namespace invalidation { | 14 namespace invalidation { |
15 class InvalidationService; | 15 class InvalidationService; |
16 } // namespace invalidation | 16 } // namespace invalidation |
17 | 17 |
18 namespace policy { | 18 namespace policy { |
19 | 19 |
20 // This class provides basic intefaces for an invalidator for remote commands | 20 // This class provides basic intefaces for an invalidator for remote commands |
21 // services. It's not interacting with CloudPolicyClient/CloudPolicyCore | 21 // services. It's not interacting with CloudPolicyClient/CloudPolicyCore |
22 // directly, instead, it handles the interacting with invalidation service | 22 // directly, instead, it handles the interacting with invalidation service |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // A thread checker to make sure that callbacks are invoked on the correct | 106 // A thread checker to make sure that callbacks are invoked on the correct |
107 // thread. | 107 // thread. |
108 base::ThreadChecker thread_checker_; | 108 base::ThreadChecker thread_checker_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(RemoteCommandsInvalidator); | 110 DISALLOW_COPY_AND_ASSIGN(RemoteCommandsInvalidator); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace policy | 113 } // namespace policy |
114 | 114 |
115 #endif // CHROME_BROWSER_POLICY_CLOUD_REMOTE_COMMANDS_INVALIDATOR_H_ | 115 #endif // CHROME_BROWSER_POLICY_CLOUD_REMOTE_COMMANDS_INVALIDATOR_H_ |
OLD | NEW |