| Index: chrome/browser/signin/signin_promo.h
|
| diff --git a/chrome/browser/signin/signin_promo.h b/chrome/browser/signin/signin_promo.h
|
| index 055af1c05941aa2b612df70faaf2ac8abde8ff94..a0099aca84f2c5e44f835cc5160f2b40a91fa9f1 100644
|
| --- a/chrome/browser/signin/signin_promo.h
|
| +++ b/chrome/browser/signin/signin_promo.h
|
| @@ -22,6 +22,7 @@ namespace signin {
|
|
|
| const char kSignInPromoQueryKeyAutoClose[] = "auto_close";
|
| const char kSignInPromoQueryKeyContinue[] = "continue";
|
| +const char kSignInPromoQueryKeyProfileIndex[] = "pi";
|
| const char kSignInPromoQueryKeySource[] = "source";
|
| const char kSignInPromoQueryKeyConstrained[] = "constrained";
|
| const char kSignInPromoQueryKeyShowAccountManagement[] =
|
| @@ -58,9 +59,19 @@ GURL GetPromoURL(signin_metrics::Source source,
|
| // Returns a sign in promo URL specifically for reauthenticating |account_id|.
|
| GURL GetReauthURL(Profile* profile, const std::string& account_id);
|
|
|
| +// Returns a sign in promo URL specifically for reauthenticating |email|.
|
| +// |profile_index| indicates the profile being reauth in the URL, which can
|
| +// be extracted via GetProfileIndexForPromoURL(). Use std::string::npos to
|
| +// not specify an index.
|
| +GURL GetReauthURLWithEmail(size_t profile_index, const std::string& email);
|
| +
|
| // Gets the next page URL from the query portion of the sign in promo URL.
|
| GURL GetNextPageURLForPromoURL(const GURL& url);
|
|
|
| +// Gets the profile index encoded in the URL. Returns std::string::npos if
|
| +// none exsts.
|
| +size_t GetProfileIndexForPromoURL(const GURL& url);
|
| +
|
| // Gets the partition URL for the embedded sign in frame/webview.
|
| GURL GetSigninPartitionURL();
|
|
|
|
|