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

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

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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: Source/modules/netinfo/NetworkInformation.h
diff --git a/Source/modules/netinfo/NetworkInformation.h b/Source/modules/netinfo/NetworkInformation.h
index 2011dec0fbff5f482be69df311508ef18f292e81..627cf12c3e10aa2cc5c0dbc7a593548534e61231 100644
--- a/Source/modules/netinfo/NetworkInformation.h
+++ b/Source/modules/netinfo/NetworkInformation.h
@@ -14,7 +14,7 @@ namespace blink {
class ExecutionContext;
-class NetworkInformation FINAL
+class NetworkInformation final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<NetworkInformation>
, public ActiveDOMObject
, public EventTargetWithInlineData
@@ -28,18 +28,18 @@ public:
String type() const;
- virtual void connectionTypeChange(WebConnectionType) OVERRIDE;
+ virtual 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;
+ 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;
// ActiveDOMObject overrides.
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void stop() override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(typechange);
« no previous file with comments | « Source/modules/netinfo/NavigatorNetworkInformation.h ('k') | Source/modules/netinfo/WorkerNavigatorNetworkInformation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698