Index: components/autofill/core/browser/autofill_client.h |
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h |
index b83d6efb087e4a98f08399a8105c65ae2cd53e83..354610bbcd112bfa29c3e1150feed3c81de259f7 100644 |
--- a/components/autofill/core/browser/autofill_client.h |
+++ b/components/autofill/core/browser/autofill_client.h |
@@ -181,6 +181,13 @@ class AutofillClient { |
// If the context is secure. |
virtual bool IsContextSecure(const GURL& form_origin) = 0; |
+ |
+ // Whether it is appropriate to show a signin promo for this user. |
+ virtual bool ShouldShowSigninPromo() = 0; |
+ |
+ // Starts the signin flow. Should not be called if ShouldShowSigninPromo() |
+ // returns false. |
+ virtual void StartSigninFlow() = 0; |
}; |
} // namespace autofill |