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

Unified Diff: chrome/browser/ui/webui/net_internals/net_internals_ui.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/webui/net_internals/net_internals_ui.cc
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
index 262db3649172534b2856b02ee3a1a87988a264ad..e959c6b367077c716560167499489402c75a0530 100644
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
@@ -223,10 +223,10 @@ class NetInternalsMessageHandler
public base::SupportsWeakPtr<NetInternalsMessageHandler> {
public:
NetInternalsMessageHandler();
- virtual ~NetInternalsMessageHandler();
+ ~NetInternalsMessageHandler() override;
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
// Calls g_browser.receive in the renderer, passing in |command| and |arg|.
// Takes ownership of |arg|. If the renderer is displaying a log file, the
@@ -410,16 +410,16 @@ class NetInternalsMessageHandler::IOThreadImpl
void OnSetLogLevel(const base::ListValue* list);
// ChromeNetLog::ThreadSafeObserver implementation:
- virtual void OnAddEntry(const net::NetLog::Entry& entry) override;
+ void OnAddEntry(const net::NetLog::Entry& entry) override;
// ConnectionTester::Delegate implementation:
- virtual void OnStartConnectionTestSuite() override;
- virtual void OnStartConnectionTestExperiment(
+ void OnStartConnectionTestSuite() override;
+ void OnStartConnectionTestExperiment(
const ConnectionTester::Experiment& experiment) override;
- virtual void OnCompletedConnectionTestExperiment(
+ void OnCompletedConnectionTestExperiment(
const ConnectionTester::Experiment& experiment,
int result) override;
- virtual void OnCompletedConnectionTestSuite() override;
+ void OnCompletedConnectionTestSuite() override;
// Helper that calls g_browser.receive in the renderer, passing in |command|
// and |arg|. Takes ownership of |arg|. If the renderer is displaying a log
@@ -434,7 +434,7 @@ class NetInternalsMessageHandler::IOThreadImpl
typedef std::list<scoped_refptr<net::URLRequestContextGetter> >
ContextGetterList;
- virtual ~IOThreadImpl();
+ ~IOThreadImpl() override;
// Adds |entry| to the queue of pending log entries to be sent to the page via
// Javascript. Must be called on the IO Thread. Also creates a delayed task

Powered by Google App Engine
This is Rietveld 408576698