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

Unified Diff: chrome/browser/automation/automation_provider_observers_chromeos.cc

Issue 10536003: [cros] Add comments for login WebUI related notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename in header Created 8 years, 6 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 | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_observers_chromeos.cc
diff --git a/chrome/browser/automation/automation_provider_observers_chromeos.cc b/chrome/browser/automation/automation_provider_observers_chromeos.cc
index 36064363af663d112e0a207a74042e83bfc13e7b..3f15da51534d5a6211c1d97e8af1945c99fd38c3 100644
--- a/chrome/browser/automation/automation_provider_observers_chromeos.cc
+++ b/chrome/browser/automation/automation_provider_observers_chromeos.cc
@@ -67,7 +67,7 @@ OOBEWebuiReadyObserver::OOBEWebuiReadyObserver(AutomationProvider* automation)
content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_IMAGES_LOADED,
content::NotificationService::AllSources());
- registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_READY,
+ registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_LOADED,
content::NotificationService::AllSources());
}
}
@@ -78,7 +78,7 @@ void OOBEWebuiReadyObserver::Observe(
const content::NotificationDetails& details) {
DCHECK(type == chrome::NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN ||
type == chrome::NOTIFICATION_LOGIN_USER_IMAGES_LOADED ||
- type == chrome::NOTIFICATION_LOGIN_WEBUI_READY);
+ type == chrome::NOTIFICATION_LOGIN_WEBUI_LOADED);
OOBEWebuiReady();
}
@@ -127,7 +127,7 @@ WizardControllerObserver::WizardControllerObserver(
automation_(automation->AsWeakPtr()),
reply_message_(reply_message) {
wizard_controller_->AddObserver(this);
- registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_READY,
+ registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_LOADED,
content::NotificationService::AllSources());
}
@@ -153,7 +153,7 @@ void WizardControllerObserver::Observe(
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- DCHECK(type == chrome::NOTIFICATION_LOGIN_WEBUI_READY);
+ DCHECK(type == chrome::NOTIFICATION_LOGIN_WEBUI_LOADED);
SendReply(WizardController::kLoginScreenName);
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698