Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: components/policy/core/common/cloud/cloud_policy_client.h

Issue 975353002: Added OOBE Asset / Naming prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698