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

Unified Diff: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.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/custom_handlers/register_protocol_handler_infobar_delegate.h
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h
index 7375ca8668c649ca01cf263d56eb2dee35f8c8eb..137a3d9beb987501dfacb882eee885e79fc7a0a0 100644
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h
@@ -27,20 +27,20 @@ class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
RegisterProtocolHandlerInfoBarDelegate(ProtocolHandlerRegistry* registry,
const ProtocolHandler& handler);
- virtual ~RegisterProtocolHandlerInfoBarDelegate();
+ ~RegisterProtocolHandlerInfoBarDelegate() override;
// ConfirmInfoBarDelegate:
- virtual InfoBarAutomationType GetInfoBarAutomationType() const override;
- virtual Type GetInfoBarType() const override;
- virtual RegisterProtocolHandlerInfoBarDelegate*
- AsRegisterProtocolHandlerInfoBarDelegate() override;
- virtual base::string16 GetMessageText() const override;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
- virtual bool OKButtonTriggersUACPrompt() const override;
- virtual bool Accept() override;
- virtual bool Cancel() override;
- virtual base::string16 GetLinkText() const override;
- virtual bool LinkClicked(WindowOpenDisposition disposition) override;
+ InfoBarAutomationType GetInfoBarAutomationType() const override;
+ Type GetInfoBarType() const override;
+ RegisterProtocolHandlerInfoBarDelegate*
+ AsRegisterProtocolHandlerInfoBarDelegate() override;
+ base::string16 GetMessageText() const override;
+ base::string16 GetButtonLabel(InfoBarButton button) const override;
+ bool OKButtonTriggersUACPrompt() const override;
+ bool Accept() override;
+ bool Cancel() override;
+ base::string16 GetLinkText() const override;
+ bool LinkClicked(WindowOpenDisposition disposition) override;
// Returns a user-friendly name for the protocol of this protocol handler.
base::string16 GetProtocolName(const ProtocolHandler& handler) const;

Powered by Google App Engine
This is Rietveld 408576698