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

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: Address review comments 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 ddb6894aafaa7a2781482814de5fe00b9b5d6458..ba4cf76ffd96b4e3ab5507700346f6fcc606b3d3 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.h
+++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.h
@@ -74,6 +74,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();
@@ -95,8 +96,12 @@ 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 old gaia 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 new gaia 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