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

Unified Diff: chrome/browser/ui/app_list/search/omnibox_provider.cc

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/app_list/search/omnibox_provider.cc
diff --git a/chrome/browser/ui/app_list/search/omnibox_provider.cc b/chrome/browser/ui/app_list/search/omnibox_provider.cc
index c2787414f44d39e9cf5d62a16051bdf1a6dbc0f6..e32a7b932c76670b3ee167c3a0ac79c19527ecce 100644
--- a/chrome/browser/ui/app_list/search/omnibox_provider.cc
+++ b/chrome/browser/ui/app_list/search/omnibox_provider.cc
@@ -91,10 +91,10 @@ class OmniboxResult : public SearchResult {
UpdateIcon();
UpdateTitleAndDetails();
}
- virtual ~OmniboxResult() {}
+ ~OmniboxResult() override {}
// SearchResult overrides:
- virtual void Open(int event_flags) override {
+ void Open(int event_flags) override {
RecordHistogram(OMNIBOX_SEARCH_RESULT);
list_controller_->OpenURL(profile_,
match_.destination_url,
@@ -102,7 +102,7 @@ class OmniboxResult : public SearchResult {
ui::DispositionFromEventFlags(event_flags));
}
- virtual scoped_ptr<SearchResult> Duplicate() override {
+ scoped_ptr<SearchResult> Duplicate() override {
return scoped_ptr<SearchResult>(new OmniboxResult(
profile_, list_controller_, autocomplete_controller_, match_));
}

Powered by Google App Engine
This is Rietveld 408576698