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

Unified Diff: chrome/browser/infobars/infobar_service.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/infobars/infobar_service.h
diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h
index 5a40eb298c29dbe3c164f1c1a3460539ea9dcf50..985b7c0a4dbc1dc49750fec14dcda08b837188b9 100644
--- a/chrome/browser/infobars/infobar_service.h
+++ b/chrome/browser/infobars/infobar_service.h
@@ -49,25 +49,24 @@ class InfoBarService : public infobars::InfoBarManager,
friend class content::WebContentsUserData<InfoBarService>;
explicit InfoBarService(content::WebContents* web_contents);
- virtual ~InfoBarService();
+ ~InfoBarService() override;
// InfoBarManager:
- virtual int GetActiveEntryID() override;
+ int GetActiveEntryID() override;
// TODO(droger): Remove these functions once infobar notifications are
// removed. See http://crbug.com/354380
- virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) override;
- virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar,
- bool animate) override;
+ void NotifyInfoBarAdded(infobars::InfoBar* infobar) override;
+ void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override;
// content::WebContentsObserver:
- virtual void RenderProcessGone(base::TerminationStatus status) override;
- virtual void DidStartNavigationToPendingEntry(
+ void RenderProcessGone(base::TerminationStatus status) override;
+ 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;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ void WebContentsDestroyed() override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// Message handlers.
void OnDidBlockDisplayingInsecureContent();
« no previous file with comments | « chrome/browser/infobars/infobar_extension_api.h ('k') | chrome/browser/infobars/insecure_content_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698