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

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

Issue 2109643003: Add billing address to masked server credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete AutofillServerCardPreferences.java Created 4 years, 5 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const base::string16& full_number) = 0; 110 const base::string16& full_number) = 0;
111 virtual void MaskServerCreditCard(const std::string& id) = 0; 111 virtual void MaskServerCreditCard(const std::string& id) = 0;
112 112
113 // Updates the use count and last use date for a server card (masked or not). 113 // Updates the use count and last use date for a server card (masked or not).
114 virtual void UpdateServerCardUsageStats(const CreditCard& credit_card) = 0; 114 virtual void UpdateServerCardUsageStats(const CreditCard& credit_card) = 0;
115 115
116 // Updates the use count and last use date for a server address. 116 // Updates the use count and last use date for a server address.
117 virtual void UpdateServerAddressUsageStats(const AutofillProfile& profile) 117 virtual void UpdateServerAddressUsageStats(const AutofillProfile& profile)
118 = 0; 118 = 0;
119 119
120 // Updates the billing address for a server card (maksed or not).
Mathieu 2016/06/29 21:06:35 nit: masked
please use gerrit instead 2016/06/30 01:19:27 Done.
121 virtual void UpdateServerCardBillingAddress(const CreditCard& credit_card)
122 = 0;
123
120 // Removes Autofill records from the database. 124 // Removes Autofill records from the database.
121 virtual void RemoveAutofillDataModifiedBetween( 125 virtual void RemoveAutofillDataModifiedBetween(
122 const base::Time& delete_begin, const base::Time& delete_end) = 0; 126 const base::Time& delete_begin, const base::Time& delete_end) = 0;
123 127
124 // Removes origin URLs associated with Autofill profiles and credit cards from 128 // Removes origin URLs associated with Autofill profiles and credit cards from
125 // the database. 129 // the database.
126 virtual void RemoveOriginURLsModifiedBetween( 130 virtual void RemoveOriginURLsModifiedBetween(
127 const base::Time& delete_begin, const base::Time& delete_end) = 0; 131 const base::Time& delete_begin, const base::Time& delete_end) = 0;
128 }; 132 };
129 133
130 } // namespace autofill 134 } // namespace autofill
131 135
132 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_ 136 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698