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

Unified Diff: components/autofill/core/browser/autofill_client.h

Issue 873583007: Add OAuth2 token to RealPanRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ) Created 5 years, 11 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: 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;
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.cc ('k') | components/autofill/core/browser/autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698