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

Unified Diff: Source/modules/mediastream/RTCDataChannel.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/mediastream/RTCDataChannel.h
diff --git a/Source/modules/mediastream/RTCDataChannel.h b/Source/modules/mediastream/RTCDataChannel.h
index c2d39bf34f0c26e0f53ef815679119ea5dd400bd..4dccf80587eaa9a5c709e36724e4c4bea20b51be 100644
--- a/Source/modules/mediastream/RTCDataChannel.h
+++ b/Source/modules/mediastream/RTCDataChannel.h
@@ -40,7 +40,7 @@ class WebRTCDataChannelHandler;
class WebRTCPeerConnectionHandler;
struct WebRTCDataChannelInit;
-class RTCDataChannel FINAL
+class RTCDataChannel final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCDataChannel>
, public EventTargetWithInlineData
, public WebRTCDataChannelHandlerClient {
@@ -84,11 +84,11 @@ public:
void stop();
// EventTarget
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
void clearWeakMembers(Visitor*);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
RTCDataChannel(ExecutionContext*, RTCPeerConnection*, PassOwnPtr<WebRTCDataChannelHandler>);
@@ -99,10 +99,10 @@ private:
ExecutionContext* m_executionContext;
// WebRTCDataChannelHandlerClient
- virtual void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) OVERRIDE;
- virtual void didReceiveStringData(const WebString&) OVERRIDE;
- virtual void didReceiveRawData(const char*, size_t) OVERRIDE;
- virtual void didDetectError() OVERRIDE;
+ virtual void didChangeReadyState(WebRTCDataChannelHandlerClient::ReadyState) override;
+ virtual void didReceiveStringData(const WebString&) override;
+ virtual void didReceiveRawData(const char*, size_t) override;
+ virtual void didDetectError() override;
OwnPtr<WebRTCDataChannelHandler> m_handler;
« no previous file with comments | « Source/modules/mediastream/RTCDTMFToneChangeEvent.h ('k') | Source/modules/mediastream/RTCDataChannelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698