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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ |
6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ | 6 #define CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 virtual void ProcessUnregisterRequest( | 68 virtual void ProcessUnregisterRequest( |
69 const std::string& device_management_token, | 69 const std::string& device_management_token, |
70 const std::string& device_id, | 70 const std::string& device_id, |
71 const em::DeviceUnregisterRequest& request, | 71 const em::DeviceUnregisterRequest& request, |
72 DeviceUnregisterResponseDelegate* response_delegate); | 72 DeviceUnregisterResponseDelegate* response_delegate); |
73 virtual void ProcessPolicyRequest( | 73 virtual void ProcessPolicyRequest( |
74 const std::string& device_management_token, | 74 const std::string& device_management_token, |
75 const std::string& device_id, | 75 const std::string& device_id, |
76 CloudPolicyDataStore::UserAffiliation affiliation, | 76 CloudPolicyDataStore::UserAffiliation affiliation, |
77 const em::DevicePolicyRequest& request, | 77 const em::DevicePolicyRequest& request, |
78 const em::DeviceStatusReportRequest& device_status, | |
Mattias Nissler (ping if slow)
2011/11/30 12:44:29
Maybe we want to pass this as a pointer, so we can
Patrick Dubroy
2011/12/06 14:30:36
Done.
| |
78 DevicePolicyResponseDelegate* response_delegate); | 79 DevicePolicyResponseDelegate* response_delegate); |
79 | 80 |
80 // Converts a user affiliation to the appropriate query parameter value. | 81 // Converts a user affiliation to the appropriate query parameter value. |
81 static const char* UserAffiliationToString( | 82 static const char* UserAffiliationToString( |
82 CloudPolicyDataStore::UserAffiliation affiliation); | 83 CloudPolicyDataStore::UserAffiliation affiliation); |
83 | 84 |
84 // Keeps track of the jobs currently in flight. | 85 // Keeps track of the jobs currently in flight. |
85 JobSet pending_jobs_; | 86 JobSet pending_jobs_; |
86 | 87 |
87 DeviceManagementService* service_; | 88 DeviceManagementService* service_; |
88 | 89 |
89 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackendImpl); | 90 DISALLOW_COPY_AND_ASSIGN(DeviceManagementBackendImpl); |
90 }; | 91 }; |
91 | 92 |
92 } // namespace policy | 93 } // namespace policy |
93 | 94 |
94 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ | 95 #endif // CHROME_BROWSER_POLICY_DEVICE_MANAGEMENT_BACKEND_IMPL_H_ |
OLD | NEW |