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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 23806002: [rAc] Disable sign-in link while the user's signed-in state is unknown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 7 years, 4 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/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 54fb490ed79ce8f6a59a74351f8105ed3a560491..8a44fb7ff4688df3ad8bd6771d52e2732cb196ef 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -116,7 +116,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
virtual string16 SaveLocallyText() const OVERRIDE;
virtual string16 SaveLocallyTooltip() const OVERRIDE;
virtual string16 LegalDocumentsText() OVERRIDE;
- virtual DialogSignedInState SignedInState() const OVERRIDE;
+ virtual bool ShouldDisableSignInLink() const OVERRIDE;
virtual bool ShouldShowSpinner() const OVERRIDE;
virtual bool ShouldOfferToSaveInChrome() const OVERRIDE;
virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE;
@@ -311,6 +311,9 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// Stop showing sign in flow.
void HideSignIn();
+ // Whether the user is known to be signed in.
+ DialogSignedInState SignedInState() const;
+
// Handles the SignedInState() on Wallet or sign-in state update.
// Triggers the user name fetch and passive sign-in.
void SignedInStateUpdated();

Powered by Google App Engine
This is Rietveld 408576698