Chromium Code Reviews| Index: components/policy/core/common/cloud/cloud_policy_client.h |
| diff --git a/components/policy/core/common/cloud/cloud_policy_client.h b/components/policy/core/common/cloud/cloud_policy_client.h |
| index 32ad129ff61577c060ae6dc7170a430c3f6a282d..b767837d1d518c2e92debecf82e9186a76463d71 100644 |
| --- a/components/policy/core/common/cloud/cloud_policy_client.h |
| +++ b/components/policy/core/common/cloud/cloud_policy_client.h |
| @@ -156,6 +156,19 @@ class POLICY_EXPORT CloudPolicyClient { |
| const std::vector<enterprise_management::RemoteCommandResult>& |
| command_results, |
| const RemoteCommandCallback& callback); |
|
Mattias Nissler (ping if slow)
2015/04/10 12:22:29
nit: blank line before comment.
Polina Bondarenko
2015/04/14 14:15:47
Done.
|
| + // Sends a device attribute update permission request to the server, |
| + // calls a callback from the enrollment screen to show or not the device |
| + // naming prompt. |
| + void GetDeviceAttributeUpdatePermission(const std::string& auth_token, |
| + const StatusCallback& callback); |
| + |
| + // Sends a device naming information (Asset Id and Location) to the |
| + // device management server, ends with successful enrollment screen |
| + // or device naming error screen. |
| + void UpdateDeviceAttributes(const std::string& auth_token, |
| + const std::string& asset_id, |
| + const std::string& location, |
| + const StatusCallback& callback); |
| // Adds an observer to be called back upon policy and state changes. |
| void AddObserver(Observer* observer); |