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

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

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase4 Created 7 years, 9 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
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_) {
« no previous file with comments | « chrome/browser/automation/automation_event_observers.h ('k') | chrome/browser/automation/automation_provider_observers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698