| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DEVICE_MANAGEMENT_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ |
| 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ | 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 const std::string& device_management_token, | 127 const std::string& device_management_token, |
| 128 const std::string& device_id, | 128 const std::string& device_id, |
| 129 const em::DeviceUnregisterRequest& request, | 129 const em::DeviceUnregisterRequest& request, |
| 130 DeviceUnregisterResponseDelegate* delegate) = 0; | 130 DeviceUnregisterResponseDelegate* delegate) = 0; |
| 131 | 131 |
| 132 virtual void ProcessPolicyRequest( | 132 virtual void ProcessPolicyRequest( |
| 133 const std::string& device_management_token, | 133 const std::string& device_management_token, |
| 134 const std::string& device_id, | 134 const std::string& device_id, |
| 135 CloudPolicyDataStore::UserAffiliation user_affiliation, | 135 CloudPolicyDataStore::UserAffiliation user_affiliation, |
| 136 const em::DevicePolicyRequest& request, | 136 const em::DevicePolicyRequest& request, |
| 137 const em::DeviceStatusReportRequest* device_status, |
| 137 DevicePolicyResponseDelegate* delegate) = 0; | 138 DevicePolicyResponseDelegate* delegate) = 0; |
| 138 | 139 |
| 139 virtual void ProcessAutoEnrollmentRequest( | 140 virtual void ProcessAutoEnrollmentRequest( |
| 140 const std::string& device_id, | 141 const std::string& device_id, |
| 141 const em::DeviceAutoEnrollmentRequest& request, | 142 const em::DeviceAutoEnrollmentRequest& request, |
| 142 DeviceAutoEnrollmentResponseDelegate* delegate) = 0; | 143 DeviceAutoEnrollmentResponseDelegate* delegate) = 0; |
| 143 | 144 |
| 144 protected: | 145 protected: |
| 145 DeviceManagementBackend() {} | 146 DeviceManagementBackend() {} |
| 146 | 147 |
| 147 private: | 148 private: |
| 148 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); | 149 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); |
| 149 }; | 150 }; |
| 150 | 151 |
| 151 } // namespace policy | 152 } // namespace policy |
| 152 | 153 |
| 153 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ | 154 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ |
| OLD | NEW |