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

Unified Diff: chrome/browser/ui/search/instant_controller.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_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index fa4fed60f5de93ccb3f73330027af9c95f09a939..d7b7b09013e547b4deeeb5cebb0fc19e2bff675e 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -44,7 +44,7 @@ class WebContents;
class InstantController : public InstantPage::Delegate {
public:
explicit InstantController(BrowserInstantController* browser);
- virtual ~InstantController();
+ ~InstantController() override;
// Called if the browser is navigating to a search URL for |search_terms| with
// search-term-replacement enabled. If |instant_tab_| can be used to process
@@ -114,12 +114,10 @@ class InstantController : public InstantPage::Delegate {
// Overridden from InstantPage::Delegate:
// TODO(shishir): We assume that the WebContent's current RenderViewHost is
// the RenderViewHost being created which is not always true. Fix this.
- virtual void InstantSupportDetermined(
- const content::WebContents* contents,
- bool supports_instant) override;
- virtual void InstantPageAboutToNavigateMainFrame(
- const content::WebContents* contents,
- const GURL& url) override;
+ void InstantSupportDetermined(const content::WebContents* contents,
+ bool supports_instant) override;
+ void InstantPageAboutToNavigateMainFrame(const content::WebContents* contents,
+ const GURL& url) override;
// Helper function to navigate the given contents to the local fallback
// Instant URL and trim the history correctly.

Powered by Google App Engine
This is Rietveld 408576698