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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "ui/base/window_open_disposition.h" 14 #include "ui/base/window_open_disposition.h"
15 15
16 class IdentityProvider;
17
16 namespace content { 18 namespace content {
17 class RenderFrameHost; 19 class RenderFrameHost;
18 } 20 }
19 21
20 namespace gfx { 22 namespace gfx {
21 class Rect; 23 class Rect;
22 class RectF; 24 class RectF;
23 } 25 }
24 26
25 class GURL; 27 class GURL;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 67
66 // Gets the PersonalDataManager instance associated with the client. 68 // Gets the PersonalDataManager instance associated with the client.
67 virtual PersonalDataManager* GetPersonalDataManager() = 0; 69 virtual PersonalDataManager* GetPersonalDataManager() = 0;
68 70
69 // Gets the AutofillWebDataService instance associated with the client. 71 // Gets the AutofillWebDataService instance associated with the client.
70 virtual scoped_refptr<AutofillWebDataService> GetDatabase() = 0; 72 virtual scoped_refptr<AutofillWebDataService> GetDatabase() = 0;
71 73
72 // Gets the preferences associated with the client. 74 // Gets the preferences associated with the client.
73 virtual PrefService* GetPrefs() = 0; 75 virtual PrefService* GetPrefs() = 0;
74 76
77 // Gets the IdentityProvider associated with the client (for OAuth2).
78 virtual IdentityProvider* GetIdentityProvider() = 0;
79
75 // Hides the associated request autocomplete dialog (if it exists). 80 // Hides the associated request autocomplete dialog (if it exists).
76 virtual void HideRequestAutocompleteDialog() = 0; 81 virtual void HideRequestAutocompleteDialog() = 0;
77 82
78 // Causes the Autofill settings UI to be shown. 83 // Causes the Autofill settings UI to be shown.
79 virtual void ShowAutofillSettings() = 0; 84 virtual void ShowAutofillSettings() = 0;
80 85
81 // A user has attempted to use a masked card. Prompt them for further 86 // A user has attempted to use a masked card. Prompt them for further
82 // information to proceed. 87 // information to proceed.
83 virtual void ShowUnmaskPrompt(const CreditCard& card, 88 virtual void ShowUnmaskPrompt(const CreditCard& card,
84 base::WeakPtr<CardUnmaskDelegate> delegate) = 0; 89 base::WeakPtr<CardUnmaskDelegate> delegate) = 0;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual void OnFirstUserGestureObserved() = 0; 144 virtual void OnFirstUserGestureObserved() = 0;
140 145
141 // Opens |url| with the supplied |disposition|. 146 // Opens |url| with the supplied |disposition|.
142 virtual void LinkClicked(const GURL& url, 147 virtual void LinkClicked(const GURL& url,
143 WindowOpenDisposition disposition) = 0; 148 WindowOpenDisposition disposition) = 0;
144 }; 149 };
145 150
146 } // namespace autofill 151 } // namespace autofill
147 152
148 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 153 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW
« 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