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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Justin's nits. Created 4 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 <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 PersonalDataManager* GetPersonalDataManager() override; 48 PersonalDataManager* GetPersonalDataManager() override;
49 scoped_refptr<AutofillWebDataService> GetDatabase() override; 49 scoped_refptr<AutofillWebDataService> GetDatabase() override;
50 PrefService* GetPrefs() override; 50 PrefService* GetPrefs() override;
51 IdentityProvider* GetIdentityProvider() override; 51 IdentityProvider* GetIdentityProvider() override;
52 rappor::RapporService* GetRapporService() override; 52 rappor::RapporService* GetRapporService() override;
53 void HideRequestAutocompleteDialog() override; 53 void HideRequestAutocompleteDialog() override;
54 void ShowAutofillSettings() override; 54 void ShowAutofillSettings() override;
55 void ShowUnmaskPrompt(const CreditCard& card, 55 void ShowUnmaskPrompt(const CreditCard& card,
56 base::WeakPtr<CardUnmaskDelegate> delegate) override; 56 base::WeakPtr<CardUnmaskDelegate> delegate) override;
57 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 57 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
58 void ConfirmSaveCreditCardLocally(const base::Closure& callback) override; 58 void ConfirmSaveCreditCardLocally(const CreditCard& card,
59 const base::Closure& callback) override;
59 void ConfirmSaveCreditCardToCloud( 60 void ConfirmSaveCreditCardToCloud(
60 const base::Closure& callback, 61 const CreditCard& card,
61 scoped_ptr<base::DictionaryValue> legal_message) override; 62 scoped_ptr<base::DictionaryValue> legal_message,
63 const base::Closure& callback) override;
62 void LoadRiskData( 64 void LoadRiskData(
63 const base::Callback<void(const std::string&)>& callback) override; 65 const base::Callback<void(const std::string&)>& callback) override;
64 bool HasCreditCardScanFeature() override; 66 bool HasCreditCardScanFeature() override;
65 void ScanCreditCard(const CreditCardScanCallback& callback) override; 67 void ScanCreditCard(const CreditCardScanCallback& callback) override;
66 void ShowRequestAutocompleteDialog( 68 void ShowRequestAutocompleteDialog(
67 const FormData& form, 69 const FormData& form,
68 content::RenderFrameHost* render_frame_host, 70 content::RenderFrameHost* render_frame_host,
69 const ResultCallback& callback) override; 71 const ResultCallback& callback) override;
70 void ShowAutofillPopup( 72 void ShowAutofillPopup(
71 const gfx::RectF& element_bounds, 73 const gfx::RectF& element_bounds,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 122
121 // The identity provider, used for Payments integration. 123 // The identity provider, used for Payments integration.
122 scoped_ptr<IdentityProvider> identity_provider_; 124 scoped_ptr<IdentityProvider> identity_provider_;
123 125
124 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 126 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
125 }; 127 };
126 128
127 } // namespace autofill 129 } // namespace autofill
128 130
129 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 131 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698