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

Unified Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 969103003: Don't save duplicates of wallet addresses to local Autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make test work Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/webdata/autofill_table.h
diff --git a/components/autofill/core/browser/webdata/autofill_table.h b/components/autofill/core/browser/webdata/autofill_table.h
index 221cbe87267807d503b0895a430d095a22ea959e..3f8093c909b8498b0ad771ef01a5588b97cd2d5e 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -281,12 +281,11 @@ class AutofillTable : public WebDatabaseTable {
// Retrieves local/server profiles in the database. Caller owns the returned
// profiles.
virtual bool GetAutofillProfiles(std::vector<AutofillProfile*>* profiles);
- virtual bool GetAutofillServerProfiles(
- std::vector<AutofillProfile*>* profiles);
+ virtual bool GetServerProfiles(std::vector<AutofillProfile*>* profiles);
// Sets the server profiles. All old profiles are deleted and replaced with
// the given ones.
- void SetAutofillServerProfiles(const std::vector<AutofillProfile>& profiles);
+ void SetServerProfiles(const std::vector<AutofillProfile>& profiles);
// Records a single credit card in the credit_cards table.
bool AddCreditCard(const CreditCard& credit_card);

Powered by Google App Engine
This is Rietveld 408576698