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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
index e1e566e2a2aa56aa487a49d5d53208dcdf1cfc81..da2d94cdb29c47ff94adab01e10822bcee427f9d 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
@@ -115,22 +115,22 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
false);
}
- virtual ~TestAutofillDialogController() {}
+ ~TestAutofillDialogController() override {}
GURL FakeSignInUrl() const {
return GURL(chrome::kChromeUIVersionURL);
}
- virtual void ShowSignIn(const GURL& url) override {
+ void ShowSignIn(const GURL& url) override {
AutofillDialogControllerImpl::ShowSignIn(FakeSignInUrl());
}
- virtual void ViewClosed() override {
+ void ViewClosed() override {
message_loop_runner_->Quit();
AutofillDialogControllerImpl::ViewClosed();
}
- virtual base::string16 InputValidityMessage(
+ base::string16 InputValidityMessage(
DialogSection section,
ServerFieldType type,
const base::string16& value) override {
@@ -140,7 +140,7 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
section, type, value);
}
- virtual ValidityMessages InputsAreValid(
+ ValidityMessages InputsAreValid(
DialogSection section,
const FieldValueMap& inputs) override {
if (!use_validation_)
@@ -150,7 +150,7 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
// Saving to Chrome is tested in AutofillDialogControllerImpl unit tests.
// TODO(estade): test that the view defaults to saving to Chrome.
- virtual bool ShouldOfferToSaveInChrome() const override {
+ bool ShouldOfferToSaveInChrome() const override {
return true;
}
@@ -164,7 +164,7 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
MOCK_METHOD0(LoadRiskFingerprintData, void());
- virtual std::vector<DialogNotification> CurrentNotifications() override {
+ std::vector<DialogNotification> CurrentNotifications() override {
return notifications_;
}
@@ -206,20 +206,19 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
}
protected:
- virtual PersonalDataManager* GetManager() const override {
+ PersonalDataManager* GetManager() const override {
return &const_cast<TestAutofillDialogController*>(this)->test_manager_;
}
- virtual AddressValidator* GetValidator() override {
+ AddressValidator* GetValidator() override {
return &mock_validator_;
}
- virtual wallet::WalletClient* GetWalletClient() override {
+ wallet::WalletClient* GetWalletClient() override {
return &mock_wallet_client_;
}
- virtual bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const
- override {
+ bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const override {
*user_index = sign_in_user_index_;
return url == wallet::GetSignInContinueUrl();
}
« no previous file with comments | « chrome/browser/translate/cld_data_harness.h ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698