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

Unified Diff: chrome/browser/chromeos/policy/consumer_enrollment_handler.h

Issue 733613005: Move the notification part out of ConsumerEnrollmentHandler so that it can be reused for unenrollme… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enroll
Patch Set: Added a check for UserManager. Created 6 years, 1 month 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/policy/consumer_enrollment_handler.h
diff --git a/chrome/browser/chromeos/policy/consumer_enrollment_handler.h b/chrome/browser/chromeos/policy/consumer_enrollment_handler.h
index 60aad18bc211c24591f24c1ec8879e035ede3c62..f3be2f8cf9af2342b41873a83a3984002eed5a09 100644
--- a/chrome/browser/chromeos/policy/consumer_enrollment_handler.h
+++ b/chrome/browser/chromeos/policy/consumer_enrollment_handler.h
@@ -53,8 +53,6 @@ class ConsumerEnrollmentHandler
}
private:
- void Start();
-
// Continues the enrollment process after the owner ID is stored into the boot
// lockbox and the owner signs in.
void ContinueEnrollmentProcess();
@@ -68,20 +66,9 @@ class ConsumerEnrollmentHandler
// Called upon the completion of the enrollment process.
void OnEnrollmentCompleted(EnrollmentStatus status);
- // Ends the enrollment process and shows a desktop notification if the
- // current user is the owner.
+ // Ends the enrollment process.
void EndEnrollment(ConsumerManagementService::EnrollmentStage stage);
- // Shows a desktop notification and resets the enrollment stage.
- void ShowDesktopNotificationAndResetStage(
- ConsumerManagementService::EnrollmentStage stage);
-
- // Opens the settings page.
- void OpenSettingsPage() const;
-
- // Opens the enrollment confirmation dialog in the settings page.
- void TryEnrollmentAgain() const;
-
Profile* profile_;
ConsumerManagementService* consumer_management_service_;
DeviceManagementService* device_management_service_;

Powered by Google App Engine
This is Rietveld 408576698