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

Unified Diff: chrome/browser/ui/fast_unload_controller.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/fast_unload_controller.cc
diff --git a/chrome/browser/ui/fast_unload_controller.cc b/chrome/browser/ui/fast_unload_controller.cc
index 65b988b46978f2433ad011c3cb7b7e6392ddd9fd..566a136f569497195bc2e42cf3ede4390cf73a65 100644
--- a/chrome/browser/ui/fast_unload_controller.cc
+++ b/chrome/browser/ui/fast_unload_controller.cc
@@ -29,15 +29,15 @@ class FastUnloadController::DetachedWebContentsDelegate
: public content::WebContentsDelegate {
public:
DetachedWebContentsDelegate() { }
- virtual ~DetachedWebContentsDelegate() { }
+ ~DetachedWebContentsDelegate() override {}
private:
// WebContentsDelegate implementation.
- virtual bool ShouldSuppressDialogs() override {
+ bool ShouldSuppressDialogs() override {
return true; // Return true so dialogs are suppressed.
}
- virtual void CloseContents(content::WebContents* source) override {
+ void CloseContents(content::WebContents* source) override {
// Finished detached close.
// FastUnloadController will observe
// |NOTIFICATION_WEB_CONTENTS_DISCONNECTED|.

Powered by Google App Engine
This is Rietveld 408576698