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

Unified Diff: Source/modules/netinfo/NetworkInformation.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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: Source/modules/netinfo/NetworkInformation.h
diff --git a/Source/modules/netinfo/NetworkInformation.h b/Source/modules/netinfo/NetworkInformation.h
index 40d0b6d7ac0e26fdd90a7ef896c794ca089d18c4..9fd448774ea383f3eec41b5ab3f4d80bc2304689 100644
--- a/Source/modules/netinfo/NetworkInformation.h
+++ b/Source/modules/netinfo/NetworkInformation.h
@@ -23,22 +23,22 @@ class NetworkInformation final
DEFINE_WRAPPERTYPEINFO();
public:
static NetworkInformation* create(ExecutionContext*);
- virtual ~NetworkInformation();
+ ~NetworkInformation() override;
String type() const;
- virtual void connectionTypeChange(WebConnectionType) override;
+ void connectionTypeChange(WebConnectionType) override;
// EventTarget overrides.
- virtual const AtomicString& interfaceName() const override;
- virtual ExecutionContext* executionContext() const override;
- virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) override;
- virtual bool removeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) override;
- virtual void removeAllEventListeners() override;
+ const AtomicString& interfaceName() const override;
+ ExecutionContext* executionContext() const override;
+ bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) override;
+ bool removeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture = false) override;
+ void removeAllEventListeners() override;
// ActiveDOMObject overrides.
- virtual bool hasPendingActivity() const override;
- virtual void stop() override;
+ bool hasPendingActivity() const override;
+ void stop() override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698