Index: components/autofill/content/browser/wallet/instrument.h |
diff --git a/components/autofill/content/browser/wallet/instrument.h b/components/autofill/content/browser/wallet/instrument.h |
index b706a7e340dbc460c5adf5b316ea6b4b038895a0..c9b7ecd0cd3c8ae49d32f35879c665cba043a46c 100644 |
--- a/components/autofill/content/browser/wallet/instrument.h |
+++ b/components/autofill/content/browser/wallet/instrument.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_INSTRUMENT_H_ |
#include <string> |
+ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
@@ -67,7 +68,13 @@ class Instrument { |
FormOfPayment form_of_payment() const { return form_of_payment_; } |
const base::string16& last_four_digits() const { return last_four_digits_; } |
const std::string& object_id() const { return object_id_; } |
+ bool expiration_differs_from_server() const { |
+ return expiration_differs_from_server_; |
+ } |
void set_object_id(const std::string& object_id) { object_id_ = object_id; } |
+ void set_expiration_differs_from_server(bool expiration_differs_from_server) { |
+ expiration_differs_from_server_ = expiration_differs_from_server; |
+ } |
private: |
void Init(); |
@@ -96,6 +103,10 @@ class Instrument { |
// Externalized Online Wallet id for this instrument. |
std::string object_id_; |
+ // Whether the expiration date differs from the server version of this |
+ // instrument. |
+ bool expiration_differs_from_server_; |
+ |
DISALLOW_ASSIGN(Instrument); |
}; |