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 6096d0130f0077e26c550214260c50d2b0ce7329..534aa68f9bfa00be757e0468cdbbc571312ba245 100644 |
--- a/components/autofill/core/browser/autofill_client.h |
+++ b/components/autofill/core/browser/autofill_client.h |
@@ -13,6 +13,8 @@ |
#include "base/strings/string16.h" |
#include "ui/base/window_open_disposition.h" |
+class IdentityProvider; |
+ |
namespace content { |
class RenderFrameHost; |
} |
@@ -72,6 +74,9 @@ class AutofillClient { |
// Gets the preferences associated with the client. |
virtual PrefService* GetPrefs() = 0; |
+ // Gets the IdentityProvider associated with the client (for OAuth2). |
+ virtual IdentityProvider* GetIdentityProvider() = 0; |
+ |
// Hides the associated request autocomplete dialog (if it exists). |
virtual void HideRequestAutocompleteDialog() = 0; |