AutofillProfileWrapper(const AutofillProfile* profile,
const AutofillType& variant_type,
size_t variant);
- virtual ~AutofillProfileWrapper();
+ ~AutofillProfileWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual base::string16 GetInfoForDisplay(const AutofillType& type) const
- OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ base::string16 GetInfoForDisplay(const AutofillType& type) const override;
+ const std::string& GetLanguageCode() const override;
protected:
// Returns the variant that should be used when dealing with an element that
class AutofillShippingAddressWrapper : public AutofillProfileWrapper {
public:
explicit AutofillShippingAddressWrapper(const AutofillProfile* profile);
- virtual ~AutofillShippingAddressWrapper();
+ ~AutofillShippingAddressWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
private:
DISALLOW_COPY_AND_ASSIGN(AutofillShippingAddressWrapper);
class AutofillCreditCardWrapper : public DataModelWrapper {
public:
explicit AutofillCreditCardWrapper(const CreditCard* card);
- virtual ~AutofillCreditCardWrapper();
+ ~AutofillCreditCardWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual gfx::Image GetIcon() OVERRIDE;
- virtual bool GetDisplayText(base::string16* vertically_compact,
- base::string16* horizontally_compact) OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ gfx::Image GetIcon() override;
+ bool GetDisplayText(base::string16* vertically_compact,
+ base::string16* horizontally_compact) override;
+ const std::string& GetLanguageCode() const override;
private:
const CreditCard* card_;
class WalletAddressWrapper : public DataModelWrapper {
public:
explicit WalletAddressWrapper(const wallet::Address* address);
- virtual ~WalletAddressWrapper();
+ ~WalletAddressWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual base::string16 GetInfoForDisplay(const AutofillType& type) const
- OVERRIDE;
- virtual bool GetDisplayText(base::string16* vertically_compact,
- base::string16* horizontally_compact) OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ base::string16 GetInfoForDisplay(const AutofillType& type) const override;
+ bool GetDisplayText(base::string16* vertically_compact,
+ base::string16* horizontally_compact) override;
+ const std::string& GetLanguageCode() const override;
private:
const wallet::Address* address_;
public:
explicit WalletInstrumentWrapper(
const wallet::WalletItems::MaskedInstrument* instrument);
- virtual ~WalletInstrumentWrapper();
+ ~WalletInstrumentWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual base::string16 GetInfoForDisplay(const AutofillType& type) const
- OVERRIDE;
- virtual gfx::Image GetIcon() OVERRIDE;
- virtual bool GetDisplayText(base::string16* vertically_compact,
- base::string16* horizontally_compact) OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ base::string16 GetInfoForDisplay(const AutofillType& type) const override;
+ gfx::Image GetIcon() override;
+ bool GetDisplayText(base::string16* vertically_compact,
+ base::string16* horizontally_compact) override;
+ const std::string& GetLanguageCode() const override;
private:
const wallet::WalletItems::MaskedInstrument* instrument_;
class FullWalletBillingWrapper : public DataModelWrapper {
public:
explicit FullWalletBillingWrapper(wallet::FullWallet* full_wallet);
- virtual ~FullWalletBillingWrapper();
+ ~FullWalletBillingWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual bool GetDisplayText(base::string16* vertically_compact,
- base::string16* horizontally_compact) OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ bool GetDisplayText(base::string16* vertically_compact,
+ base::string16* horizontally_compact) override;
+ const std::string& GetLanguageCode() const override;
private:
wallet::FullWallet* full_wallet_;
class FullWalletShippingWrapper : public DataModelWrapper {
public:
explicit FullWalletShippingWrapper(wallet::FullWallet* full_wallet);
- virtual ~FullWalletShippingWrapper();
+ ~FullWalletShippingWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ const std::string& GetLanguageCode() const override;
private:
wallet::FullWallet* full_wallet_;
public:
explicit I18nAddressDataWrapper(
const ::i18n::addressinput::AddressData* address);
- virtual ~I18nAddressDataWrapper();
+ ~I18nAddressDataWrapper() override;
- virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
- virtual const std::string& GetLanguageCode() const OVERRIDE;
+ base::string16 GetInfo(const AutofillType& type) const override;
+ const std::string& GetLanguageCode() const override;
private:
const ::i18n::addressinput::AddressData* address_;