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

Unified Diff: chrome/browser/ui/webui/about_ui.h

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/webui/about_ui.h
diff --git a/chrome/browser/ui/webui/about_ui.h b/chrome/browser/ui/webui/about_ui.h
index 8be6511ce35526275c5baebab2ca0bad3b8de5e1..b453c5b86f4a87c8c5608f5d05011d88f95c0267 100644
--- a/chrome/browser/ui/webui/about_ui.h
+++ b/chrome/browser/ui/webui/about_ui.h
@@ -22,15 +22,15 @@ class AboutUIHTMLSource : public content::URLDataSource {
AboutUIHTMLSource(const std::string& source_name, Profile* profile);
// content::URLDataSource implementation.
- virtual std::string GetSource() const override;
- virtual void StartDataRequest(
+ std::string GetSource() const override;
+ void StartDataRequest(
const std::string& path,
int render_process_id,
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) override;
- virtual std::string GetMimeType(const std::string& path) const override;
- virtual bool ShouldAddContentSecurityPolicy() const override;
- virtual bool ShouldDenyXFrameOptions() const override;
+ std::string GetMimeType(const std::string& path) const override;
+ bool ShouldAddContentSecurityPolicy() const override;
+ bool ShouldDenyXFrameOptions() const override;
// Send the response data.
void FinishDataRequest(
@@ -40,7 +40,7 @@ class AboutUIHTMLSource : public content::URLDataSource {
Profile* profile() { return profile_; }
private:
- virtual ~AboutUIHTMLSource();
+ ~AboutUIHTMLSource() override;
std::string source_name_;
Profile* profile_;
@@ -51,7 +51,7 @@ class AboutUIHTMLSource : public content::URLDataSource {
class AboutUI : public content::WebUIController {
public:
explicit AboutUI(content::WebUI* web_ui, const std::string& host);
- virtual ~AboutUI() {}
+ ~AboutUI() override {}
private:
DISALLOW_COPY_AND_ASSIGN(AboutUI);

Powered by Google App Engine
This is Rietveld 408576698