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

Unified Diff: chrome/browser/ui/startup/default_browser_prompt.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/startup/default_browser_prompt.cc
diff --git a/chrome/browser/ui/startup/default_browser_prompt.cc b/chrome/browser/ui/startup/default_browser_prompt.cc
index d3b49ae89b0c4eba138a72f4dc28fce9cea0f484..139ab9fba1158bd0c3b98c017af762fd70c0bf7b 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.cc
+++ b/chrome/browser/ui/startup/default_browser_prompt.cc
@@ -68,19 +68,18 @@ class DefaultBrowserInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
DefaultBrowserInfoBarDelegate(PrefService* prefs,
bool interactive_flow_required);
- virtual ~DefaultBrowserInfoBarDelegate();
+ ~DefaultBrowserInfoBarDelegate() override;
void AllowExpiry() { should_expire_ = true; }
// ConfirmInfoBarDelegate:
- virtual int GetIconID() const 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 bool ShouldExpireInternal(
- const NavigationDetails& details) const override;
+ int GetIconID() const override;
+ base::string16 GetMessageText() const override;
+ base::string16 GetButtonLabel(InfoBarButton button) const override;
+ bool OKButtonTriggersUACPrompt() const override;
+ bool Accept() override;
+ bool Cancel() override;
+ bool ShouldExpireInternal(const NavigationDetails& details) const override;
// The prefs to use.
PrefService* prefs_;

Powered by Google App Engine
This is Rietveld 408576698