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

Unified Diff: chrome/browser/ui/browser_tab_restore_service_delegate.h

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/browser_tab_restore_service_delegate.h
diff --git a/chrome/browser/ui/browser_tab_restore_service_delegate.h b/chrome/browser/ui/browser_tab_restore_service_delegate.h
index aa1ea223d4c5d771a9ac143088d8e015cdb8593b..215104f5243a0fe82a7572f723f5b76ad203bb15 100644
--- a/chrome/browser/ui/browser_tab_restore_service_delegate.h
+++ b/chrome/browser/ui/browser_tab_restore_service_delegate.h
@@ -19,18 +19,18 @@ class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate {
public:
explicit BrowserTabRestoreServiceDelegate(Browser* browser)
: browser_(browser) {}
- virtual ~BrowserTabRestoreServiceDelegate() {}
+ ~BrowserTabRestoreServiceDelegate() override {}
// Overridden from TabRestoreServiceDelegate:
- virtual void ShowBrowserWindow() override;
- virtual const SessionID& GetSessionID() const override;
- virtual int GetTabCount() const override;
- virtual int GetSelectedIndex() const override;
- virtual std::string GetAppName() const override;
- virtual content::WebContents* GetWebContentsAt(int index) const override;
- virtual content::WebContents* GetActiveWebContents() const override;
- virtual bool IsTabPinned(int index) const override;
- virtual content::WebContents* AddRestoredTab(
+ void ShowBrowserWindow() override;
+ const SessionID& GetSessionID() const override;
+ int GetTabCount() const override;
+ int GetSelectedIndex() const override;
+ std::string GetAppName() const override;
+ content::WebContents* GetWebContentsAt(int index) const override;
+ content::WebContents* GetActiveWebContents() const override;
+ bool IsTabPinned(int index) const override;
+ content::WebContents* AddRestoredTab(
const std::vector<sessions::SerializedNavigationEntry>& navigations,
int tab_index,
int selected_navigation,
@@ -40,14 +40,14 @@ class BrowserTabRestoreServiceDelegate : public TabRestoreServiceDelegate {
bool from_last_session,
content::SessionStorageNamespace* storage_namespace,
const std::string& user_agent_override) override;
- virtual content::WebContents* ReplaceRestoredTab(
+ content::WebContents* ReplaceRestoredTab(
const std::vector<sessions::SerializedNavigationEntry>& navigations,
int selected_navigation,
bool from_last_session,
const std::string& extension_app_id,
content::SessionStorageNamespace* session_storage_namespace,
const std::string& user_agent_override) override;
- virtual void CloseTab() override;
+ void CloseTab() override;
private:
Browser* browser_;

Powered by Google App Engine
This is Rietveld 408576698