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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 2713553006: cros: Remove unused WizardController::Observer. (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 30b5ac5004fd601dd3bdca38af0ed5bf94449ca2..630a4a5ee08b3033b454829674e041363833a138 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -642,19 +642,6 @@ WizardController::GetSharkConnectionListenerForTesting() {
return shark_connection_listener_.get();
}
-void WizardController::AddObserver(Observer* observer) {
- observer_list_.AddObserver(observer);
-}
-
-void WizardController::RemoveObserver(Observer* observer) {
- observer_list_.RemoveObserver(observer);
-}
-
-void WizardController::OnSessionStart() {
- for (auto& observer : observer_list_)
- observer.OnSessionStart();
-}
-
void WizardController::SkipUpdateEnrollAfterEula() {
skip_update_enroll_after_eula_ = true;
}
@@ -962,9 +949,6 @@ void WizardController::ShowCurrentScreen() {
smooth_show_timer_.Stop();
- for (auto& observer : observer_list_)
- observer.OnScreenChanged(current_screen_);
-
current_screen_->Show();
}
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698