| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 const std::string& device_management_token, | 112 const std::string& device_management_token, |
| 113 const std::string& device_id, | 113 const std::string& device_id, |
| 114 const em::DeviceUnregisterRequest& request, | 114 const em::DeviceUnregisterRequest& request, |
| 115 DeviceUnregisterResponseDelegate* delegate) = 0; | 115 DeviceUnregisterResponseDelegate* delegate) = 0; |
| 116 | 116 |
| 117 virtual void ProcessPolicyRequest( | 117 virtual void ProcessPolicyRequest( |
| 118 const std::string& device_management_token, | 118 const std::string& device_management_token, |
| 119 const std::string& device_id, | 119 const std::string& device_id, |
| 120 CloudPolicyDataStore::UserAffiliation user_affiliation, | 120 CloudPolicyDataStore::UserAffiliation user_affiliation, |
| 121 const em::DevicePolicyRequest& request, | 121 const em::DevicePolicyRequest& request, |
| 122 const em::DeviceStatusReportRequest& device_status, |
| 122 DevicePolicyResponseDelegate* delegate) = 0; | 123 DevicePolicyResponseDelegate* delegate) = 0; |
| 123 | 124 |
| 124 protected: | 125 protected: |
| 125 DeviceManagementBackend() {} | 126 DeviceManagementBackend() {} |
| 126 | 127 |
| 127 private: | 128 private: |
| 128 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); | 129 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); |
| 129 }; | 130 }; |
| 130 | 131 |
| 131 } // namespace policy | 132 } // namespace policy |
| 132 | 133 |
| 133 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ | 134 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ |
| OLD | NEW |