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

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

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 5f6b0ba5c4fa7e1c861652d2d1f54bea720a8063..14a488facb7de47d36d34aa3e67f01dcb5bc3f42 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
@@ -288,12 +288,12 @@ class NavEntryCommittedObserver : public content::WindowedNotificationObserver {
source),
url_(url) {}
- virtual ~NavEntryCommittedObserver() {}
+ ~NavEntryCommittedObserver() override {}
// content::NotificationObserver:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override {
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override {
content::LoadCommittedDetails* load_details =
content::Details<content::LoadCommittedDetails>(details).ptr();
if (load_details->entry->GetVirtualURL() != url_)
@@ -1505,7 +1505,7 @@ class AutofillDialogControllerSecurityTest :
AutofillDialogControllerSecurityTest() {}
virtual ~AutofillDialogControllerSecurityTest() {}
- virtual void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(CommandLine* command_line) override {
CHECK(!command_line->HasSwitch(::switches::kReduceSecurityForTesting));
}

Powered by Google App Engine
This is Rietveld 408576698