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

Unified Diff: chrome/browser/plugins/plugin_infobar_delegates.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/plugins/plugin_infobar_delegates.h
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.h b/chrome/browser/plugins/plugin_infobar_delegates.h
index aa9e1fd286aac98966c7473bf08fa968a9630c4b..6e7a278ccd85cc12eadc1de818b28b9d4dd85e3e 100644
--- a/chrome/browser/plugins/plugin_infobar_delegates.h
+++ b/chrome/browser/plugins/plugin_infobar_delegates.h
@@ -28,7 +28,7 @@ class PluginInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual ~PluginInfoBarDelegate();
// ConfirmInfoBarDelegate:
- virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
+ virtual bool LinkClicked(WindowOpenDisposition disposition) override;
virtual std::string GetLearnMoreURL() const = 0;
@@ -36,8 +36,8 @@ class PluginInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
// ConfirmInfoBarDelegate:
- virtual int GetIconID() const OVERRIDE;
- virtual base::string16 GetLinkText() const OVERRIDE;
+ virtual int GetIconID() const override;
+ virtual base::string16 GetLinkText() const override;
std::string identifier_;
@@ -61,13 +61,13 @@ class UnauthorizedPluginInfoBarDelegate : public PluginInfoBarDelegate {
virtual ~UnauthorizedPluginInfoBarDelegate();
// PluginInfoBarDelegate:
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
- virtual bool Accept() OVERRIDE;
- virtual bool Cancel() OVERRIDE;
- virtual void InfoBarDismissed() OVERRIDE;
- virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
- virtual std::string GetLearnMoreURL() const OVERRIDE;
+ virtual base::string16 GetMessageText() const override;
+ virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
+ virtual bool Accept() override;
+ virtual bool Cancel() override;
+ virtual void InfoBarDismissed() override;
+ virtual bool LinkClicked(WindowOpenDisposition disposition) override;
+ virtual std::string GetLearnMoreURL() const override;
HostContentSettingsMap* content_settings_;
base::string16 name_;
@@ -93,22 +93,22 @@ class OutdatedPluginInfoBarDelegate : public PluginInfoBarDelegate,
virtual ~OutdatedPluginInfoBarDelegate();
// PluginInfoBarDelegate:
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
- virtual bool Accept() OVERRIDE;
- virtual bool Cancel() OVERRIDE;
- virtual void InfoBarDismissed() OVERRIDE;
- virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
- virtual std::string GetLearnMoreURL() const OVERRIDE;
+ virtual base::string16 GetMessageText() const override;
+ virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
+ virtual bool Accept() override;
+ virtual bool Cancel() override;
+ virtual void InfoBarDismissed() override;
+ virtual bool LinkClicked(WindowOpenDisposition disposition) override;
+ virtual std::string GetLearnMoreURL() const override;
// PluginInstallerObserver:
- virtual void DownloadStarted() OVERRIDE;
- virtual void DownloadError(const std::string& message) OVERRIDE;
- virtual void DownloadCancelled() OVERRIDE;
- virtual void DownloadFinished() OVERRIDE;
+ virtual void DownloadStarted() override;
+ virtual void DownloadError(const std::string& message) override;
+ virtual void DownloadCancelled() override;
+ virtual void DownloadFinished() override;
// WeakPluginInstallerObserver:
- virtual void OnlyWeakObserversLeft() OVERRIDE;
+ virtual void OnlyWeakObserversLeft() override;
// Replaces this infobar with one showing |message|. The new infobar will
// not have any buttons (and not call the callback).
@@ -154,22 +154,22 @@ class PluginInstallerInfoBarDelegate : public ConfirmInfoBarDelegate,
virtual ~PluginInstallerInfoBarDelegate();
// ConfirmInfoBarDelegate:
- virtual int GetIconID() const OVERRIDE;
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual int GetButtons() const OVERRIDE;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
- virtual bool Accept() OVERRIDE;
- virtual base::string16 GetLinkText() const OVERRIDE;
- virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
+ virtual int GetIconID() const override;
+ virtual base::string16 GetMessageText() const override;
+ virtual int GetButtons() const override;
+ virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
+ virtual bool Accept() override;
+ virtual base::string16 GetLinkText() const override;
+ virtual bool LinkClicked(WindowOpenDisposition disposition) override;
// PluginInstallerObserver:
- virtual void DownloadStarted() OVERRIDE;
- virtual void DownloadError(const std::string& message) OVERRIDE;
- virtual void DownloadCancelled() OVERRIDE;
- virtual void DownloadFinished() OVERRIDE;
+ virtual void DownloadStarted() override;
+ virtual void DownloadError(const std::string& message) override;
+ virtual void DownloadCancelled() override;
+ virtual void DownloadFinished() override;
// WeakPluginInstallerObserver:
- virtual void OnlyWeakObserversLeft() OVERRIDE;
+ virtual void OnlyWeakObserversLeft() override;
// Replaces this infobar with one showing |message|. The new infobar will
// not have any buttons (and not call the callback).
@@ -210,13 +210,13 @@ class PluginMetroModeInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual ~PluginMetroModeInfoBarDelegate();
// ConfirmInfoBarDelegate:
- virtual int GetIconID() const OVERRIDE;
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual int GetButtons() const OVERRIDE;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
- virtual bool Accept() OVERRIDE;
- virtual base::string16 GetLinkText() const OVERRIDE;
- virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
+ virtual int GetIconID() const override;
+ virtual base::string16 GetMessageText() const override;
+ virtual int GetButtons() const override;
+ virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
+ virtual bool Accept() override;
+ virtual base::string16 GetLinkText() const override;
+ virtual bool LinkClicked(WindowOpenDisposition disposition) override;
const Mode mode_;
const base::string16 name_;
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter_unittest.cc ('k') | chrome/browser/plugins/plugin_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698