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

Unified Diff: chrome/browser/ui/omnibox/omnibox_navigation_observer.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/omnibox/omnibox_navigation_observer.h
diff --git a/chrome/browser/ui/omnibox/omnibox_navigation_observer.h b/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
index 98feca8cb4154b9a0b3f2800b819a1cdb14b17d5..82c9fd279837f98adc3666f1d0fff03cd5ae6111 100644
--- a/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
+++ b/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
@@ -56,7 +56,7 @@ class OmniboxNavigationObserver : public content::NotificationObserver,
const base::string16& text,
const AutocompleteMatch& match,
const AutocompleteMatch& alternate_nav_match);
- virtual ~OmniboxNavigationObserver();
+ ~OmniboxNavigationObserver() override;
LoadState load_state() const { return load_state_; }
@@ -73,20 +73,20 @@ class OmniboxNavigationObserver : public content::NotificationObserver,
};
// content::NotificationObserver:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// content::WebContentsObserver:
- virtual void DidStartNavigationToPendingEntry(
+ void DidStartNavigationToPendingEntry(
const GURL& url,
content::NavigationController::ReloadType reload_type) override;
- virtual void NavigationEntryCommitted(
+ void NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) override;
- virtual void WebContentsDestroyed() override;
+ void WebContentsDestroyed() override;
// net::URLFetcherDelegate:
- virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
+ void OnURLFetchComplete(const net::URLFetcher* source) override;
// Once the load has committed and any URL fetch has completed, this displays
// the alternate nav infobar if necessary, and deletes |this|.

Powered by Google App Engine
This is Rietveld 408576698