| 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 } |
| 28 | 31 |
| 29 namespace net { | 32 namespace net { |
| 30 class URLRequestContextGetter; | 33 class URLRequestContextGetter; |
| 31 } | 34 } |
| 32 | 35 |
| 33 namespace policy { | 36 namespace policy { |
| 34 | 37 |
| 35 class DeviceManagementRequestJobImpl; | 38 class DeviceManagementRequestJobImpl; |
| 36 class DeviceManagementService; | 39 class DeviceManagementService; |
| 37 | 40 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 220 |
| 218 // Used to create tasks which run delayed on the UI thread. | 221 // Used to create tasks which run delayed on the UI thread. |
| 219 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; | 222 base::WeakPtrFactory<DeviceManagementService> weak_ptr_factory_; |
| 220 | 223 |
| 221 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); | 224 DISALLOW_COPY_AND_ASSIGN(DeviceManagementService); |
| 222 }; | 225 }; |
| 223 | 226 |
| 224 } // namespace policy | 227 } // namespace policy |
| 225 | 228 |
| 226 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ | 229 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_DEVICE_MANAGEMENT_SERVICE_H_ |
| OLD | NEW |