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

Unified Diff: chrome/browser/media/media_stream_infobar_delegate.h

Issue 665323004: Standardize usage of virtual/override/final in chrome/browser/media (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/media/media_stream_infobar_delegate.h
diff --git a/chrome/browser/media/media_stream_infobar_delegate.h b/chrome/browser/media/media_stream_infobar_delegate.h
index 8855e47221481a4617d0162f639a905046849e83..75214a6246333fbc3174d05af01df43ffb27cd6a 100644
--- a/chrome/browser/media/media_stream_infobar_delegate.h
+++ b/chrome/browser/media/media_stream_infobar_delegate.h
@@ -19,7 +19,7 @@
// to them.
class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- virtual ~MediaStreamInfoBarDelegate();
+ ~MediaStreamInfoBarDelegate() override;
// Handles a permission request (in |request|) for |web_contents|. If this
// involves prompting the user, creates a media stream infobar and delegate,
@@ -37,16 +37,16 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
scoped_ptr<MediaStreamDevicesController> controller);
// ConfirmInfoBarDelegate:
- virtual void InfoBarDismissed() override;
- virtual int GetIconID() const override;
- virtual Type GetInfoBarType() const override;
- virtual MediaStreamInfoBarDelegate* AsMediaStreamInfoBarDelegate() override;
- virtual base::string16 GetMessageText() const override;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
- virtual bool Accept() override;
- virtual bool Cancel() override;
- virtual base::string16 GetLinkText() const override;
- virtual bool LinkClicked(WindowOpenDisposition disposition) override;
+ void InfoBarDismissed() override;
+ int GetIconID() const override;
+ Type GetInfoBarType() const override;
+ MediaStreamInfoBarDelegate* AsMediaStreamInfoBarDelegate() override;
+ base::string16 GetMessageText() const override;
+ base::string16 GetButtonLabel(InfoBarButton button) const override;
+ bool Accept() override;
+ bool Cancel() override;
+ base::string16 GetLinkText() const override;
+ bool LinkClicked(WindowOpenDisposition disposition) override;
scoped_ptr<MediaStreamDevicesController> controller_;

Powered by Google App Engine
This is Rietveld 408576698