| Index: chrome/browser/policy/device_management_backend_impl.h
|
| diff --git a/chrome/browser/policy/device_management_backend_impl.h b/chrome/browser/policy/device_management_backend_impl.h
|
| index 6a9ced4652e175bdeb1628e30f5608b9fc2ab659..4354c9823db4a37389250966c46fff45b1873131 100644
|
| --- a/chrome/browser/policy/device_management_backend_impl.h
|
| +++ b/chrome/browser/policy/device_management_backend_impl.h
|
| @@ -35,6 +35,7 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
|
| static const char kParamOAuthToken[];
|
| static const char kParamPlatform[];
|
| static const char kParamRequest[];
|
| + static const char kParamUserAffiliation[];
|
|
|
| // String constants for the device and app type we report to the server.
|
| static const char kValueAppType[];
|
| @@ -42,6 +43,8 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
|
| static const char kValueRequestPolicy[];
|
| static const char kValueRequestRegister[];
|
| static const char kValueRequestUnregister[];
|
| + static const char kValueUserAffiliationManaged[];
|
| + static const char kValueUserAffiliationNone[];
|
|
|
| private:
|
| friend class DeviceManagementJobBase;
|
| @@ -70,9 +73,14 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
|
| virtual void ProcessPolicyRequest(
|
| const std::string& device_management_token,
|
| const std::string& device_id,
|
| + CloudPolicyDataStore::UserAffiliation affiliation,
|
| const em::DevicePolicyRequest& request,
|
| DevicePolicyResponseDelegate* response_delegate);
|
|
|
| + // Converts a user affiliation to the appropriate query parameter value.
|
| + static const char* UserAffiliationToString(
|
| + CloudPolicyDataStore::UserAffiliation affiliation);
|
| +
|
| // Keeps track of the jobs currently in flight.
|
| JobSet pending_jobs_;
|
|
|
|
|