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

Unified Diff: chrome/browser/sessions/tab_restore_service.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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/sessions/tab_restore_service.h
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h
index 12f3b5b3553624a7feb826b144dbd773e5e0e39e..85566c708de78ad8fb5f8c5fd3f9c3bbe2391667 100644
--- a/chrome/browser/sessions/tab_restore_service.h
+++ b/chrome/browser/sessions/tab_restore_service.h
@@ -77,7 +77,7 @@ class TabRestoreService : public KeyedService {
// Represents a previously open tab.
struct Tab : public Entry {
Tab();
- virtual ~Tab();
+ ~Tab() override;
bool has_browser() const { return browser_id > 0; }
@@ -110,7 +110,7 @@ class TabRestoreService : public KeyedService {
// Represents a previously open window.
struct Window : public Entry {
Window();
- virtual ~Window();
+ ~Window() override;
// The tabs that comprised the window, in order.
std::vector<Tab> tabs;
@@ -124,7 +124,7 @@ class TabRestoreService : public KeyedService {
typedef std::list<Entry*> Entries;
- virtual ~TabRestoreService();
+ ~TabRestoreService() override;
// Adds/removes an observer. TabRestoreService does not take ownership of
// the observer.
« no previous file with comments | « chrome/browser/sessions/tab_restore_browsertest.cc ('k') | chrome/browser/sessions/tab_restore_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698