| Index: chrome/browser/autofill/wallet/wallet_address.h
|
| diff --git a/chrome/browser/autofill/wallet/wallet_address.h b/chrome/browser/autofill/wallet/wallet_address.h
|
| index 7855a23f10f976e29a4647f24673d99072bfaa17..86f7b9a45b1ca7c66931470a967a775849f6c990 100644
|
| --- a/chrome/browser/autofill/wallet/wallet_address.h
|
| +++ b/chrome/browser/autofill/wallet/wallet_address.h
|
| @@ -9,6 +9,8 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/string16.h"
|
| +#include "chrome/browser/autofill/field_types.h"
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| @@ -87,6 +89,13 @@ class Address {
|
| // sent to the server in a slightly different format.
|
| scoped_ptr<base::DictionaryValue> ToDictionaryWithoutID() const;
|
|
|
| + // Returns a string that summarizes this address, suitable for display to
|
| + // the user.
|
| + string16 DisplayName() const;
|
| +
|
| + // Returns data appropriate for |type|.
|
| + string16 GetInfo(AutofillFieldType type) const;
|
| +
|
| // Returns an empty scoped_ptr if input is invalid or a valid address that is
|
| // selectable for Google Wallet use.
|
| static scoped_ptr<Address>
|
|
|