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

Unified Diff: chrome/browser/ui/webui/uber/uber_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/uber/uber_ui.h
diff --git a/chrome/browser/ui/webui/uber/uber_ui.h b/chrome/browser/ui/webui/uber/uber_ui.h
index 3402c7ad2ca5a109ce5612b87c2888f08a96c944..bbb3c70e5c040134ff342b6454adef0dde5516df 100644
--- a/chrome/browser/ui/webui/uber/uber_ui.h
+++ b/chrome/browser/ui/webui/uber/uber_ui.h
@@ -20,20 +20,18 @@
class UberUI : public content::WebUIController {
public:
explicit UberUI(content::WebUI* web_ui);
- virtual ~UberUI();
+ ~UberUI() override;
content::WebUI* GetSubpage(const std::string& page_url);
// WebUIController implementation.
- virtual bool OverrideHandleWebUIMessage(const GURL& source_url,
- const std::string& message,
- const base::ListValue& args) override;
+ bool OverrideHandleWebUIMessage(const GURL& source_url,
+ const std::string& message,
+ const base::ListValue& args) override;
// We forward these to |sub_uis_|.
- virtual void RenderViewCreated(
- content::RenderViewHost* render_view_host) override;
- virtual void RenderViewReused(
- content::RenderViewHost* render_view_host) override;
+ void RenderViewCreated(content::RenderViewHost* render_view_host) override;
+ void RenderViewReused(content::RenderViewHost* render_view_host) override;
private:
// A map from URL origin to WebUI instance.
@@ -53,13 +51,13 @@ class UberFrameUI : public content::NotificationObserver,
public content::WebUIController {
public:
explicit UberFrameUI(content::WebUI* web_ui);
- virtual ~UberFrameUI();
+ ~UberFrameUI() override;
private:
// content::NotificationObserver implementation.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698