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

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

Issue 10412005: Prevent automation from reporting login WebUI ready prematurely (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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 | no next file » | 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 4167ac0579d4d723d49a42accc24834598bb9e39..af0d864386853077131a967ae8c78399f90f3ab3 100644
--- a/chrome/browser/automation/automation_provider_observers_chromeos.cc
+++ b/chrome/browser/automation/automation_provider_observers_chromeos.cc
@@ -54,8 +54,6 @@ LoginWebuiReadyObserver::LoginWebuiReadyObserver(AutomationProvider* automation)
content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_IMAGES_LOADED,
content::NotificationService::AllSources());
- registrar_.Add(this, chrome::NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN,
- content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN,
content::NotificationService::AllSources());
}
@@ -66,7 +64,6 @@ void LoginWebuiReadyObserver::Observe(
const content::NotificationDetails& details) {
DCHECK(type == chrome::NOTIFICATION_LOGIN_WEBUI_READY ||
type == chrome::NOTIFICATION_LOGIN_USER_IMAGES_LOADED ||
- type == chrome::NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN ||
type == chrome::NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN);
if (automation_)
automation_->OnLoginWebuiReady();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698