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

Unified Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h

Issue 975353002: Added OOBE Asset / Naming prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 5 years, 8 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: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h
index 519f10251f4de625f6544e140f6d8eb90e81d021..ddb291b377b96f078dbd55167934793a62bc2e66 100644
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.h
@@ -42,6 +42,10 @@ class EnterpriseEnrollmentHelperImpl : public EnterpriseEnrollmentHelper,
void EnrollUsingAuthCode(const std::string& auth_code) override;
void EnrollUsingToken(const std::string& token) override;
void ClearAuth(const base::Closure& callback) override;
+ void GetDeviceAttributeUpdatePermission() override;
+ void UpdateDeviceAttributes(const std::string& asset_id,
+ const std::string& location) override;
+ const std::string& GetOAuthToken() override;
dzhioev (left Google) 2015/04/14 15:48:19 This method is declared private in EnterpriseEnrol
Polina Bondarenko 2015/04/14 16:14:32 I didn't get a compilation error, anyway fixed.
private:
void DoEnrollUsingToken(const std::string& token);
@@ -54,6 +58,12 @@ class EnterpriseEnrollmentHelperImpl : public EnterpriseEnrollmentHelper,
// Handles completion of the enrollment attempt.
void OnEnrollmentFinished(policy::EnrollmentStatus status);
+ // Handles completion of the device attribute update permission request.
+ void OnDeviceAttributeUpdatePermission(bool status);
+
+ // Handles completion of the device attribute update attempt.
+ void OnDeviceAttributeUploadCompleted(bool status);
+
void ReportAuthStatus(const GoogleServiceAuthError& error);
void ReportEnrollmentStatus(policy::EnrollmentStatus status);

Powered by Google App Engine
This is Rietveld 408576698