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

Side by Side Diff: chrome/browser/ui/autofill/chrome_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 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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 28 matching lines...) Expand all
39 public: 39 public:
40 ~ChromeAutofillClient() override; 40 ~ChromeAutofillClient() override;
41 41
42 // Called when the tab corresponding to |this| instance is activated. 42 // Called when the tab corresponding to |this| instance is activated.
43 void TabActivated(); 43 void TabActivated();
44 44
45 // AutofillClient: 45 // AutofillClient:
46 PersonalDataManager* GetPersonalDataManager() override; 46 PersonalDataManager* GetPersonalDataManager() override;
47 scoped_refptr<AutofillWebDataService> GetDatabase() override; 47 scoped_refptr<AutofillWebDataService> GetDatabase() override;
48 PrefService* GetPrefs() override; 48 PrefService* GetPrefs() override;
49 IdentityProvider* GetIdentityProvider() override;
49 void HideRequestAutocompleteDialog() override; 50 void HideRequestAutocompleteDialog() override;
50 void ShowAutofillSettings() override; 51 void ShowAutofillSettings() override;
51 void ShowUnmaskPrompt(const CreditCard& card, 52 void ShowUnmaskPrompt(const CreditCard& card,
52 base::WeakPtr<CardUnmaskDelegate> delegate) override; 53 base::WeakPtr<CardUnmaskDelegate> delegate) override;
53 void OnUnmaskVerificationResult(bool success) override; 54 void OnUnmaskVerificationResult(bool success) override;
54 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; 55 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override;
55 bool HasCreditCardScanFeature() override; 56 bool HasCreditCardScanFeature() override;
56 void ScanCreditCard(const CreditCardScanCallback& callback) override; 57 void ScanCreditCard(const CreditCardScanCallback& callback) override;
57 void ShowRequestAutocompleteDialog( 58 void ShowRequestAutocompleteDialog(
58 const FormData& form, 59 const FormData& form,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // The class of this member must remain a forward declaration, even in the 123 // The class of this member must remain a forward declaration, even in the
123 // .cc implementation file, since the class is defined in a Mac-only 124 // .cc implementation file, since the class is defined in a Mac-only
124 // implementation file. This means that the pointer cannot be wrapped in a 125 // implementation file. This means that the pointer cannot be wrapped in a
125 // scoped_ptr. 126 // scoped_ptr.
126 AutofillKeystoneBridgeWrapper* bridge_wrapper_; 127 AutofillKeystoneBridgeWrapper* bridge_wrapper_;
127 #endif // defined(OS_MACOSX) && !defined(OS_IOS) 128 #endif // defined(OS_MACOSX) && !defined(OS_IOS)
128 129
129 // The last render frame that called requestAutocomplete. 130 // The last render frame that called requestAutocomplete.
130 content::RenderFrameHost* last_rfh_to_rac_; 131 content::RenderFrameHost* last_rfh_to_rac_;
131 132
133 // The identity provider, used for Wallet integration.
134 scoped_ptr<IdentityProvider> identity_provider_;
135
132 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 136 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
133 }; 137 };
134 138
135 } // namespace autofill 139 } // namespace autofill
136 140
137 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 141 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_client.cc ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698