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

Unified Diff: components/autofill/core/browser/credit_card.h

Issue 2189563002: Use server ID to identify server cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index 0a636a6de6b2696ef7172fcc93d8cc1a22ade02a..3a73533e5943c1c60c15d5acbad6f9c6f41adc49 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -134,6 +134,7 @@ class CreditCard : public AutofillDataModel {
void SetExpirationYear(int expiration_year);
const std::string& server_id() const { return server_id_; }
+ void set_server_id(const std::string& server_id) { server_id_ = server_id; }
// For use in STL containers.
void operator=(const CreditCard& credit_card);

Powered by Google App Engine
This is Rietveld 408576698