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

Unified Diff: components/autofill/content/browser/wallet/wallet_client_unittest.cc

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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: components/autofill/content/browser/wallet/wallet_client_unittest.cc
diff --git a/components/autofill/content/browser/wallet/wallet_client_unittest.cc b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
index 10c5051f1c752d54bfaafbf294eb2d5e47eba695..230776f6c76eba2dd790621a2b0e013623f8cf52 100644
--- a/components/autofill/content/browser/wallet/wallet_client_unittest.cc
+++ b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
@@ -660,15 +660,15 @@ class MockWalletClientDelegate : public WalletClientDelegate {
is_shipping_required_(true) {}
~MockWalletClientDelegate() {}
- virtual std::string GetRiskData() const override {
+ std::string GetRiskData() const override {
return "risky business";
}
- virtual std::string GetWalletCookieValue() const override {
+ std::string GetWalletCookieValue() const override {
return "gdToken";
}
- virtual bool IsShippingAddressRequired() const override {
+ bool IsShippingAddressRequired() const override {
return is_shipping_required_;
}
@@ -685,12 +685,11 @@ class MockWalletClientDelegate : public WalletClientDelegate {
const std::vector<FormFieldError>& form_field_errors));
MOCK_METHOD1(OnWalletError, void(WalletClient::ErrorType error_type));
- virtual void OnDidGetFullWallet(scoped_ptr<FullWallet> full_wallet) override {
+ void OnDidGetFullWallet(scoped_ptr<FullWallet> full_wallet) override {
EXPECT_TRUE(full_wallet);
++full_wallets_received_;
}
- virtual void OnDidGetWalletItems(scoped_ptr<WalletItems> wallet_items)
- override {
+ void OnDidGetWalletItems(scoped_ptr<WalletItems> wallet_items) override {
EXPECT_TRUE(wallet_items);
++wallet_items_received_;
}

Powered by Google App Engine
This is Rietveld 408576698