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

Unified Diff: chrome/browser/automation/automation_event_observers.h

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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_event_observers_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_event_observers.h
diff --git a/chrome/browser/automation/automation_event_observers.h b/chrome/browser/automation/automation_event_observers.h
index 972be850810689c22674fb50c9b4688033c03ad7..179ccf626cd8fa37b2d54ff3c2e95fd437b04aa3 100644
--- a/chrome/browser/automation/automation_event_observers.h
+++ b/chrome/browser/automation/automation_event_observers.h
@@ -74,6 +74,10 @@ class DomEventObserver
#if defined(OS_CHROMEOS)
+namespace chromeos {
+struct UserCredentials;
+}
+
// Event observer that listens for the completion of login.
class LoginEventObserver
: public AutomationEventObserver,
@@ -86,8 +90,7 @@ class LoginEventObserver
virtual void OnLoginFailure(const chromeos::LoginFailure& error) OVERRIDE;
- virtual void OnLoginSuccess(const std::string& username,
- const std::string& password,
+ virtual void OnLoginSuccess(const chromeos::UserCredentials& credentials,
bool pending_requests, bool using_oauth) OVERRIDE;
// Overridden from content::NotificationObserver.
virtual void Observe(int type,
« no previous file with comments | « no previous file | chrome/browser/automation/automation_event_observers_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698