Index: chrome/browser/automation/automation_event_observers_chromeos.cc |
diff --git a/chrome/browser/automation/automation_event_observers_chromeos.cc b/chrome/browser/automation/automation_event_observers_chromeos.cc |
index 5db16a71d81e2321327c76b0ef9062db8c189e7e..e636b49c457eee9df1d8731ed8fb5111aa73378a 100644 |
--- a/chrome/browser/automation/automation_event_observers_chromeos.cc |
+++ b/chrome/browser/automation/automation_event_observers_chromeos.cc |
@@ -26,10 +26,10 @@ void LoginEventObserver::OnLoginFailure(const chromeos::LoginFailure& error) { |
_NotifyLoginEvent(error.GetErrorString()); |
} |
-void LoginEventObserver::OnLoginSuccess(const std::string& username, |
- const std::string& password, |
- bool pending_requests, |
- bool using_oauth) { |
+void LoginEventObserver::OnLoginSuccess( |
+ const chromeos::UserCredentials& credentials, |
+ bool pending_requests, |
+ bool using_oauth) { |
// Profile changes after login. Ensure AutomationProvider refers to |
// the correct one. |
if (automation_) { |