Index: chrome/browser/ui/pdf/pdf_unsupported_feature.cc |
diff --git a/chrome/browser/ui/pdf/pdf_unsupported_feature.cc b/chrome/browser/ui/pdf/pdf_unsupported_feature.cc |
index 5705cea0dc58b52656d44b4ecf38a6107882f91b..d3f791bc6939b4c64a07d6c9d46bc061478e9bad 100644 |
--- a/chrome/browser/ui/pdf/pdf_unsupported_feature.cc |
+++ b/chrome/browser/ui/pdf/pdf_unsupported_feature.cc |
@@ -59,13 +59,13 @@ class PDFEnableAdobeReaderPromptClient |
virtual ~PDFEnableAdobeReaderPromptClient(); |
// pdf::OpenPDFInReaderPromptClient |
- virtual base::string16 GetMessageText() const OVERRIDE; |
- virtual base::string16 GetAcceptButtonText() const OVERRIDE; |
- virtual base::string16 GetCancelButtonText() const OVERRIDE; |
+ virtual base::string16 GetMessageText() const override; |
+ virtual base::string16 GetAcceptButtonText() const override; |
+ virtual base::string16 GetCancelButtonText() const override; |
virtual bool ShouldExpire( |
- const content::LoadCommittedDetails& details) const OVERRIDE; |
- virtual void Accept() OVERRIDE; |
- virtual void Cancel() OVERRIDE; |
+ const content::LoadCommittedDetails& details) const override; |
+ virtual void Accept() override; |
+ virtual void Cancel() override; |
private: |
void OnYes(); |
@@ -162,7 +162,7 @@ class PDFUnsupportedFeatureInterstitial |
protected: |
// InterstitialPageDelegate implementation. |
- virtual std::string GetHTMLContents() OVERRIDE { |
+ virtual std::string GetHTMLContents() override { |
base::DictionaryValue strings; |
strings.SetString( |
"title", |
@@ -190,7 +190,7 @@ class PDFUnsupportedFeatureInterstitial |
return webui::GetI18nTemplateHtml(html, &strings); |
} |
- virtual void CommandReceived(const std::string& command) OVERRIDE { |
+ virtual void CommandReceived(const std::string& command) override { |
if (command == "0") { |
content::RecordAction( |
UserMetricsAction("PDF_ReaderInterstitialCancel")); |
@@ -215,7 +215,7 @@ class PDFUnsupportedFeatureInterstitial |
} |
virtual void OverrideRendererPrefs( |
- content::RendererPreferences* prefs) OVERRIDE { |
+ content::RendererPreferences* prefs) override { |
Profile* profile = |
Profile::FromBrowserContext(web_contents_->GetBrowserContext()); |
renderer_preferences_util::UpdateFromSystemSettings(prefs, profile); |
@@ -239,13 +239,13 @@ class PDFUnsupportedFeaturePromptClient |
virtual ~PDFUnsupportedFeaturePromptClient(); |
// pdf::OpenPDFInReaderPromptClient: |
- virtual base::string16 GetMessageText() const OVERRIDE; |
- virtual base::string16 GetAcceptButtonText() const OVERRIDE; |
- virtual base::string16 GetCancelButtonText() const OVERRIDE; |
+ virtual base::string16 GetMessageText() const override; |
+ virtual base::string16 GetAcceptButtonText() const override; |
+ virtual base::string16 GetCancelButtonText() const override; |
virtual bool ShouldExpire( |
- const content::LoadCommittedDetails& details) const OVERRIDE; |
- virtual void Accept() OVERRIDE; |
- virtual void Cancel() OVERRIDE; |
+ const content::LoadCommittedDetails& details) const override; |
+ virtual void Accept() override; |
+ virtual void Cancel() override; |
private: |
WebContents* web_contents_; |