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

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

Issue 2829853008: Stores server card as a full server card when upload to server succeeds. (Closed)
Patch Set: Renames AddServerCreditCard to AddFullServerCreditCard. Adds DCHECK to verify that we are in a tran… 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/webdata/autofill_webdata.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata.h b/components/autofill/core/browser/webdata/autofill_webdata.h
index eb573874b12119f4b77cedc840ea87a332b65541..07fe5002a2f4461256a4bf7d30d2f3b2390f1ad2 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata.h
@@ -94,6 +94,9 @@ class AutofillWebData {
// |guid| is identifier of the credit card to remove.
virtual void RemoveCreditCard(const std::string& guid) = 0;
+ // Schedules a task to add a full server credit card to the web database.
+ virtual void AddFullServerCreditCard(const CreditCard& credit_card) = 0;
+
// Initiates the request for local/server credit cards. The method
// OnWebDataServiceRequestDone of |consumer| gets called when the request is
// finished, with the credit cards included in the argument |result|. The

Powered by Google App Engine
This is Rietveld 408576698