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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_webdata.h

Issue 2626843004: [Payments] Add billing_address_id and has_converted to autofill_table (Closed)
Patch Set: Created 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBDATA_AUTOFILL_WEBDATA_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 WebDataServiceConsumer* consumer) = 0; 102 WebDataServiceConsumer* consumer) = 0;
103 virtual WebDataServiceBase::Handle GetServerCreditCards( 103 virtual WebDataServiceBase::Handle GetServerCreditCards(
104 WebDataServiceConsumer* consumer) = 0; 104 WebDataServiceConsumer* consumer) = 0;
105 105
106 // Toggles the record for a server credit card between masked (only last 4 106 // Toggles the record for a server credit card between masked (only last 4
107 // digits) and full (all digits). 107 // digits) and full (all digits).
108 virtual void UnmaskServerCreditCard(const CreditCard& credit_card, 108 virtual void UnmaskServerCreditCard(const CreditCard& credit_card,
109 const base::string16& full_number) = 0; 109 const base::string16& full_number) = 0;
110 virtual void MaskServerCreditCard(const std::string& id) = 0; 110 virtual void MaskServerCreditCard(const std::string& id) = 0;
111 111
112 // Updates the use count and last use date for a server card (masked or not). 112 // Updates the use count and last use date for a server card (masked or not).
please use gerrit instead 2017/01/11 19:23:03 Update the comment, please.
sebsg 2017/01/12 15:36:31 Done.
113 virtual void UpdateServerCardUsageStats(const CreditCard& credit_card) = 0; 113 virtual void UpdateServerCardMetadata(const CreditCard& credit_card) = 0;
114 114
115 // Updates the use count and last use date for a server address. 115 // Updates the use count and last use date for a server address.
please use gerrit instead 2017/01/11 19:23:03 Update the comment please.
sebsg 2017/01/12 15:36:31 Done.
116 virtual void UpdateServerAddressUsageStats(const AutofillProfile& profile) 116 virtual void UpdateServerAddressMetadata(const AutofillProfile& profile)
117 = 0;
118
119 // Updates the billing address for a server card (masked or not).
120 virtual void UpdateServerCardBillingAddress(const CreditCard& credit_card)
121 = 0; 117 = 0;
122 118
123 // Removes Autofill records from the database. 119 // Removes Autofill records from the database.
124 virtual void RemoveAutofillDataModifiedBetween( 120 virtual void RemoveAutofillDataModifiedBetween(
125 const base::Time& delete_begin, const base::Time& delete_end) = 0; 121 const base::Time& delete_begin, const base::Time& delete_end) = 0;
126 122
127 // Removes origin URLs associated with Autofill profiles and credit cards from 123 // Removes origin URLs associated with Autofill profiles and credit cards from
128 // the database. 124 // the database.
129 virtual void RemoveOriginURLsModifiedBetween( 125 virtual void RemoveOriginURLsModifiedBetween(
130 const base::Time& delete_begin, const base::Time& delete_end) = 0; 126 const base::Time& delete_begin, const base::Time& delete_end) = 0;
131 }; 127 };
132 128
133 } // namespace autofill 129 } // namespace autofill
134 130
135 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 131 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698