Index: chrome/browser/ui/autofill/data_model_wrapper.h |
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.h b/chrome/browser/ui/autofill/data_model_wrapper.h |
index d4a5c8a5ff648667363b482d5c14aaa327f5192f..736e76c7cb160b888b21cfbfe96ad78a43deaee6 100644 |
--- a/chrome/browser/ui/autofill/data_model_wrapper.h |
+++ b/chrome/browser/ui/autofill/data_model_wrapper.h |
@@ -20,12 +20,13 @@ namespace gfx { |
class Image; |
} |
+namespace autofill { |
+ |
namespace wallet { |
class Address; |
+class FullWallet; |
} |
-namespace autofill { |
- |
// A glue class that allows uniform interactions with autocomplete data sources, |
// regardless of their type. Implementations are intended to be lightweight and |
// copyable, only holding weak references to their backing model. |
@@ -144,6 +145,24 @@ class WalletInstrumentWrapper : public DataModelWrapper { |
const wallet::WalletItems::MaskedInstrument* instrument_; |
}; |
+/* |
+// A DataModelWrapper for FullWallets. |
+class FullWalletWrapper : public DataModelWrapper { |
+ public: |
+ explicit FullWalletWrapper(const wallet::FullWallet* full_wallet); |
+ virtual ~FullWalletWrapper(); |
+ |
+ virtual string16 GetInfo(AutofillFieldType type) OVERRIDE; |
Dan Beam
2013/03/13 01:43:57
this interface would need to differ
Evan Stade
2013/03/13 01:54:10
2 different wrappers
Dan Beam
2013/03/13 03:05:47
Done.
|
+ virtual gfx::Image GetIcon() OVERRIDE; |
+ virtual void FillInputs(DetailInputs* inputs) OVERRIDE; |
+ |
+ protected: |
+ virtual void FillFormField(AutofillField* field) OVERRIDE; |
+ |
+ private: |
+ const wallet::FullWallet* full_wallet_; |
+}; |
+*/ |
} |
#endif // CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ |