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

Unified Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.h

Issue 1344443002: Implement new password separated sign in flow for chrome desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 3 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/ui/webui/signin/inline_login_handler_impl.h
diff --git a/chrome/browser/ui/webui/signin/inline_login_handler_impl.h b/chrome/browser/ui/webui/signin/inline_login_handler_impl.h
index 9e94ea62e70d85c866ff1dab9c8cdf24cd8b7e61..d2a3e8c0b5738aeecf9f3471d78557fb29dd3b7b 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.h
+++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.h
@@ -75,6 +75,7 @@ class InlineLoginHandlerImpl : public InlineLoginHandler,
const std::string& gaia_id,
const std::string& password,
const std::string& session_index,
+ const std::string& auth_code,
bool choose_what_to_sync);
~FinishCompleteLoginParams();
@@ -96,8 +97,13 @@ class InlineLoginHandlerImpl : public InlineLoginHandler,
std::string gaia_id;
// Password of the account used to sign in.
std::string password;
- // Index within gaia cookie of the account used to sign in.
+ // Index within gaia cookie of the account used to sign in. Used only
+ // with password combined signin flow.
std::string session_index;
+ // Authentication code used to exchange for a login scoped refresh token
+ // for the account used to sign in. Used only with password separated
+ // signin flow.
+ std::string auth_code;
// True if the user wants to configure sync before signing in.
bool choose_what_to_sync;
};

Powered by Google App Engine
This is Rietveld 408576698