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

Unified Diff: chrome/browser/sessions/session_tab_helper.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/session_tab_helper.h
diff --git a/chrome/browser/sessions/session_tab_helper.h b/chrome/browser/sessions/session_tab_helper.h
index b6c57582d4bf82433814abbbbeba7119d99a9457..c83114a54b4e07f48c2d8cc1cb582b04ade44539 100644
--- a/chrome/browser/sessions/session_tab_helper.h
+++ b/chrome/browser/sessions/session_tab_helper.h
@@ -15,7 +15,7 @@
class SessionTabHelper : public content::WebContentsObserver,
public content::WebContentsUserData<SessionTabHelper> {
public:
- virtual ~SessionTabHelper();
+ ~SessionTabHelper() override;
// Returns the identifier used by session restore for this tab.
const SessionID& session_id() const { return session_id_; }
@@ -44,10 +44,9 @@ class SessionTabHelper : public content::WebContentsObserver,
// content::WebContentsObserver:
#if defined(ENABLE_EXTENSIONS)
- virtual void RenderViewCreated(
- content::RenderViewHost* render_view_host) override;
+ void RenderViewCreated(content::RenderViewHost* render_view_host) override;
#endif
- virtual void UserAgentOverrideSet(const std::string& user_agent) override;
+ void UserAgentOverrideSet(const std::string& user_agent) override;
private:
explicit SessionTabHelper(content::WebContents* contents);
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | chrome/browser/sessions/tab_restore_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698