| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| index c077b144f9245813bf5dd494fa5d1106e9e4c528..8f6d79534d819f5b075f4e9d31472ef0101ec190 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -561,6 +561,9 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
|
| // Called when the delay for enabling the submit button ends.
|
| void OnSubmitButtonDelayEnd();
|
|
|
| + // Initiates a fetch of the user's current Wallet cookie and Google username.
|
| + void FetchWalletCookieAndUserName();
|
| +
|
| // The |profile| for |contents_|.
|
| Profile* const profile_;
|
|
|
| @@ -585,10 +588,14 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
|
| // and also tracks which data source the dialog is using.
|
| AccountChooserModel account_chooser_model_;
|
|
|
| - // The sign-in helper to fetch the user info and perform passive sign-in.
|
| - // The helper is set only during fetch/sign-in, and NULL otherwise.
|
| + // The sign-in helper to fetch the user's Wallet cookie and to perform passive
|
| + // sign-in. The helper is set only during fetch/sign-in, and NULL otherwise.
|
| scoped_ptr<wallet::WalletSigninHelper> signin_helper_;
|
|
|
| + // The sign-in helper to fetch the user's human-readable username. The helper
|
| + // is set only while fetching the username, and NULL otherwise.
|
| + scoped_ptr<wallet::WalletSigninHelper> username_fetcher_;
|
| +
|
| // A client to talk to the Online Wallet API.
|
| wallet::WalletClient wallet_client_;
|
|
|
|
|