| 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_CLOUD_POLICY_CLIENT_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ |
| 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" | |
| 18 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 17 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| 19 #include "components/policy/policy_export.h" | 18 #include "components/policy/policy_export.h" |
| 19 #include "policy/proto/device_management_backend.pb.h" |
| 20 | 20 |
| 21 namespace net { | 21 namespace net { |
| 22 class URLRequestContextGetter; | 22 class URLRequestContextGetter; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace policy { | 25 namespace policy { |
| 26 | 26 |
| 27 class DeviceManagementRequestJob; | 27 class DeviceManagementRequestJob; |
| 28 class DeviceManagementService; | 28 class DeviceManagementService; |
| 29 | 29 |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 ObserverList<Observer, true> observers_; | 288 ObserverList<Observer, true> observers_; |
| 289 scoped_refptr<net::URLRequestContextGetter> request_context_; | 289 scoped_refptr<net::URLRequestContextGetter> request_context_; |
| 290 | 290 |
| 291 private: | 291 private: |
| 292 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); | 292 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient); |
| 293 }; | 293 }; |
| 294 | 294 |
| 295 } // namespace policy | 295 } // namespace policy |
| 296 | 296 |
| 297 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ | 297 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CLIENT_H_ |
| OLD | NEW |