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

Unified Diff: chrome/browser/ui/search/instant_page.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/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index cada7626bfb213ac7ef8c88d1b2db966208e1340..e3cc6bbc729e5ad8ee65e6aafa655e500ed02e60 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -54,7 +54,7 @@ class InstantPage : public content::WebContentsObserver,
virtual ~Delegate();
};
- virtual ~InstantPage();
+ ~InstantPage() override;
// Returns the Instant URL that was loaded for this page. Returns the empty
// string if no URL was explicitly loaded as is the case for InstantTab.
@@ -99,14 +99,14 @@ class InstantPage : public content::WebContentsObserver,
FRIEND_TEST_ALL_PREFIXES(InstantPageTest, PageSupportsInstant);
// Overridden from content::WebContentsObserver:
- virtual void DidCommitProvisionalLoadForFrame(
+ void DidCommitProvisionalLoadForFrame(
content::RenderFrameHost* render_frame_host,
const GURL& url,
ui::PageTransition transition_type) override;
// Overridden from SearchModelObserver:
- virtual void ModelChanged(const SearchModel::State& old_state,
- const SearchModel::State& new_state) override;
+ void ModelChanged(const SearchModel::State& old_state,
+ const SearchModel::State& new_state) override;
// Update the status of Instant support.
void InstantSupportDetermined(bool supports_instant);

Powered by Google App Engine
This is Rietveld 408576698