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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback.h" | 16 #include "base/callback.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
21 #include "base/strings/string_split.h" | 21 #include "base/strings/string_split.h" |
22 #include "base/threading/thread_checker.h" | 22 #include "base/threading/thread_checker.h" |
23 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 23 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
24 #include "components/policy/policy_export.h" | 24 #include "components/policy/policy_export.h" |
25 #include "components/policy/proto/device_management_backend.pb.h" | 25 #include "components/policy/proto/device_management_backend.pb.h" |
26 #include "net/url_request/url_fetcher_delegate.h" | 26 #include "net/url_request/url_fetcher_delegate.h" |
27 | 27 |
28 namespace base { | |
29 class SequencedTaskRunner; | |
30 } | |
31 | 28 |
32 namespace net { | 29 namespace net { |
33 class URLRequestContextGetter; | 30 class URLRequestContextGetter; |
34 } | 31 } |
35 | 32 |
36 namespace policy { | 33 namespace policy { |
37 | 34 |
38 class DeviceManagementRequestJobImpl; | 35 class DeviceManagementRequestJobImpl; |
39 class DeviceManagementService; | 36 class DeviceManagementService; |
40 | 37 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 217 |
221 // Used to create tasks which run delayed on the UI thread. | 218 // Used to create tasks which run delayed on the UI thread. |
222 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; | 219 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; |
223 | 220 |
224 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); | 221 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); |
225 }; | 222 }; |
226 | 223 |
227 } // namespace policy | 224 } // namespace policy |
228 | 225 |
229 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ | 226 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ |
OLD | NEW |