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

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

Issue 2789843004: [Payments] Upload card UI now has a CVC prompt (Closed)
Patch Set: Created 3 years, 8 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 ~ChromeAutofillClient() override; 38 ~ChromeAutofillClient() override;
39 39
40 // AutofillClient: 40 // AutofillClient:
41 PersonalDataManager* GetPersonalDataManager() override; 41 PersonalDataManager* GetPersonalDataManager() override;
42 scoped_refptr<AutofillWebDataService> GetDatabase() override; 42 scoped_refptr<AutofillWebDataService> GetDatabase() override;
43 PrefService* GetPrefs() override; 43 PrefService* GetPrefs() override;
44 syncer::SyncService* GetSyncService() override; 44 syncer::SyncService* GetSyncService() override;
45 IdentityProvider* GetIdentityProvider() override; 45 IdentityProvider* GetIdentityProvider() override;
46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; 46 rappor::RapporServiceImpl* GetRapporServiceImpl() override;
47 ukm::UkmService* GetUkmService() override; 47 ukm::UkmService* GetUkmService() override;
48 SaveCardBubbleController* GetSaveCardBubbleController() override;
48 void ShowAutofillSettings() override; 49 void ShowAutofillSettings() override;
49 void ShowUnmaskPrompt(const CreditCard& card, 50 void ShowUnmaskPrompt(const CreditCard& card,
50 UnmaskCardReason reason, 51 UnmaskCardReason reason,
51 base::WeakPtr<CardUnmaskDelegate> delegate) override; 52 base::WeakPtr<CardUnmaskDelegate> delegate) override;
52 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 53 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
53 void ConfirmSaveCreditCardLocally(const CreditCard& card, 54 void ConfirmSaveCreditCardLocally(const CreditCard& card,
54 const base::Closure& callback) override; 55 const base::Closure& callback) override;
55 void ConfirmSaveCreditCardToCloud( 56 void ConfirmSaveCreditCardToCloud(
56 const CreditCard& card, 57 const CreditCard& card,
57 std::unique_ptr<base::DictionaryValue> legal_message, 58 std::unique_ptr<base::DictionaryValue> legal_message,
59 const bool upload_cvc_should_be_requested,
csashi 2017/03/31 21:48:15 I think you can ditch the const.
csashi 2017/03/31 21:48:15 s/upload_cvc_should_be_request/request_cvc_if_miss
Jared Saul 2017/04/01 04:18:01 Done.
Jared Saul 2017/04/01 04:18:02 I agree that it makes it match the flag better, bu
58 const base::Closure& callback) override; 60 const base::Closure& callback) override;
59 void ConfirmCreditCardFillAssist(const CreditCard& card, 61 void ConfirmCreditCardFillAssist(const CreditCard& card,
60 const base::Closure& callback) override; 62 const base::Closure& callback) override;
61 void LoadRiskData( 63 void LoadRiskData(
62 const base::Callback<void(const std::string&)>& callback) override; 64 const base::Callback<void(const std::string&)>& callback) override;
63 bool HasCreditCardScanFeature() override; 65 bool HasCreditCardScanFeature() override;
64 void ScanCreditCard(const CreditCardScanCallback& callback) override; 66 void ScanCreditCard(const CreditCardScanCallback& callback) override;
65 void ShowAutofillPopup( 67 void ShowAutofillPopup(
66 const gfx::RectF& element_bounds, 68 const gfx::RectF& element_bounds,
67 base::i18n::TextDirection text_direction, 69 base::i18n::TextDirection text_direction,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 102
101 // The identity provider, used for Payments integration. 103 // The identity provider, used for Payments integration.
102 std::unique_ptr<IdentityProvider> identity_provider_; 104 std::unique_ptr<IdentityProvider> identity_provider_;
103 105
104 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 106 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
105 }; 107 };
106 108
107 } // namespace autofill 109 } // namespace autofill
108 110
109 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 111 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698