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

Unified Diff: chrome/browser/ui/autofill/data_model_wrapper.h

Issue 12893007: Implementing VERIFY_CVV required action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ahutter@ review Created 7 years, 9 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: 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 35f90407a99abcf809e72c7f153e4c30b5d04f1e..fc81b229ee9813a151e0d541a25480994f908828 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper.h
+++ b/chrome/browser/ui/autofill/data_model_wrapper.h
@@ -32,6 +32,7 @@ class FullWallet;
// copyable, only holding weak references to their backing model.
class DataModelWrapper {
public:
+ DataModelWrapper();
Evan Stade 2013/03/26 19:29:54 why
Dan Beam 2013/03/27 00:38:27 derived classes only found the private copy ctor,
virtual ~DataModelWrapper();
// Returns the data for a specific autocomplete type.
@@ -59,6 +60,9 @@ class DataModelWrapper {
protected:
// Fills in |field| with data from the model.
virtual void FillFormField(AutofillField* field);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DataModelWrapper);
};
// A DataModelWrapper for Autofill data.
@@ -77,6 +81,8 @@ class AutofillFormGroupWrapper : public DataModelWrapper {
private:
const FormGroup* form_group_;
const size_t variant_;
+
+ DISALLOW_COPY_AND_ASSIGN(AutofillFormGroupWrapper);
};
// A DataModelWrapper for Autofill profiles.
@@ -89,6 +95,8 @@ class AutofillProfileWrapper : public AutofillFormGroupWrapper {
private:
const AutofillProfile* profile_;
+
+ DISALLOW_COPY_AND_ASSIGN(AutofillProfileWrapper);
};
// A DataModelWrapper specifically for Autofill CreditCard data.
@@ -106,6 +114,8 @@ class AutofillCreditCardWrapper : public AutofillFormGroupWrapper {
private:
const CreditCard* card_;
+
+ DISALLOW_COPY_AND_ASSIGN(AutofillCreditCardWrapper);
};
// A DataModelWrapper for Wallet addresses.
@@ -118,6 +128,8 @@ class WalletAddressWrapper : public DataModelWrapper {
private:
const wallet::Address* address_;
+
+ DISALLOW_COPY_AND_ASSIGN(WalletAddressWrapper);
};
// A DataModelWrapper for Wallet instruments.
@@ -133,6 +145,8 @@ class WalletInstrumentWrapper : public DataModelWrapper {
private:
const wallet::WalletItems::MaskedInstrument* instrument_;
+
+ DISALLOW_COPY_AND_ASSIGN(WalletInstrumentWrapper);
};
// A DataModelWrapper for FullWallets billing data.
@@ -145,6 +159,8 @@ class FullWalletBillingWrapper : public DataModelWrapper {
private:
wallet::FullWallet* full_wallet_;
+
+ DISALLOW_COPY_AND_ASSIGN(FullWalletBillingWrapper);
};
// A DataModelWrapper for FullWallets shipping data.
@@ -157,6 +173,8 @@ class FullWalletShippingWrapper : public DataModelWrapper {
private:
wallet::FullWallet* full_wallet_;
+
+ DISALLOW_COPY_AND_ASSIGN(FullWalletShippingWrapper);
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698