| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual ~DeviceManagementBackend() {} | 87 virtual ~DeviceManagementBackend() {} |
| 88 | 88 |
| 89 virtual void ProcessRegisterRequest( | 89 virtual void ProcessRegisterRequest( |
| 90 const std::string& auth_token, | 90 const std::string& auth_token, |
| 91 const std::string& device_id, | 91 const std::string& device_id, |
| 92 const em::DeviceRegisterRequest& request, | 92 const em::DeviceRegisterRequest& request, |
| 93 DeviceRegisterResponseDelegate* delegate) = 0; | 93 DeviceRegisterResponseDelegate* delegate) = 0; |
| 94 | 94 |
| 95 virtual void ProcessUnregisterRequest( | 95 virtual void ProcessUnregisterRequest( |
| 96 const std::string& device_management_token, | 96 const std::string& device_management_token, |
| 97 const std::string& device_id, |
| 97 const em::DeviceUnregisterRequest& request, | 98 const em::DeviceUnregisterRequest& request, |
| 98 DeviceUnregisterResponseDelegate* delegate) = 0; | 99 DeviceUnregisterResponseDelegate* delegate) = 0; |
| 99 | 100 |
| 100 virtual void ProcessPolicyRequest( | 101 virtual void ProcessPolicyRequest( |
| 101 const std::string& device_management_token, | 102 const std::string& device_management_token, |
| 103 const std::string& device_id, |
| 102 const em::DevicePolicyRequest& request, | 104 const em::DevicePolicyRequest& request, |
| 103 DevicePolicyResponseDelegate* delegate) = 0; | 105 DevicePolicyResponseDelegate* delegate) = 0; |
| 104 | 106 |
| 105 protected: | 107 protected: |
| 106 DeviceManagementBackend() {} | 108 DeviceManagementBackend() {} |
| 107 | 109 |
| 108 private: | 110 private: |
| 109 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); | 111 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackend); |
| 110 }; | 112 }; |
| 111 | 113 |
| 112 } // namespace policy | 114 } // namespace policy |
| 113 | 115 |
| 114 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ | 116 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_H_ |
| OLD | NEW |