Standardize usage of virtual/override/final in chrome/browser/ui/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
[email protected]
Review URL: https://codereview.chromium.org/671653002
Cr-Commit-Position: refs/heads/master@{#300476}
diff --git a/chrome/browser/ui/settings_window_manager_browsertest.cc b/chrome/browser/ui/settings_window_manager_browsertest.cc
index e3ed682..4aa0c5c 100644
--- a/chrome/browser/ui/settings_window_manager_browsertest.cc
+++ b/chrome/browser/ui/settings_window_manager_browsertest.cc
@@ -29,9 +29,9 @@
: public chrome::SettingsWindowManagerObserver {
public:
SettingsWindowTestObserver() : browser_(NULL), new_settings_count_(0) {}
- virtual ~SettingsWindowTestObserver() {}
+ ~SettingsWindowTestObserver() override {}
- virtual void OnNewSettingsWindow(Browser* settings_browser) override {
+ void OnNewSettingsWindow(Browser* settings_browser) override {
browser_ = settings_browser;
++new_settings_count_;
}
@@ -59,7 +59,7 @@
settings_manager_->RemoveObserver(&observer_);
}
- virtual void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(CommandLine* command_line) override {
command_line->AppendSwitch(::switches::kEnableSettingsWindow);
}