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

Unified Diff: Source/modules/mediastream/RTCPeerConnection.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/RTCPeerConnection.h
diff --git a/Source/modules/mediastream/RTCPeerConnection.h b/Source/modules/mediastream/RTCPeerConnection.h
index 5bb52a67086a095a280645639007d3d48c817162..7cfd4d0399812a0d20226c11bff63da1b88730df 100644
--- a/Source/modules/mediastream/RTCPeerConnection.h
+++ b/Source/modules/mediastream/RTCPeerConnection.h
@@ -55,7 +55,7 @@ class RTCSessionDescriptionCallback;
class RTCStatsCallback;
class VoidCallback;
-class RTCPeerConnection FINAL
+class RTCPeerConnection final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCPeerConnection>
, public WebRTCPeerConnectionHandlerClient
, public EventTargetWithInlineData
@@ -121,32 +121,32 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(datachannel);
// WebRTCPeerConnectionHandlerClient
- virtual void negotiationNeeded() OVERRIDE;
- virtual void didGenerateICECandidate(const WebRTCICECandidate&) OVERRIDE;
- virtual void didChangeSignalingState(SignalingState) OVERRIDE;
- virtual void didChangeICEGatheringState(ICEGatheringState) OVERRIDE;
- virtual void didChangeICEConnectionState(ICEConnectionState) OVERRIDE;
- virtual void didAddRemoteStream(const WebMediaStream&) OVERRIDE;
- virtual void didRemoveRemoteStream(const WebMediaStream&) OVERRIDE;
- virtual void didAddRemoteDataChannel(WebRTCDataChannelHandler*) OVERRIDE;
- virtual void releasePeerConnectionHandler() OVERRIDE;
- virtual void closePeerConnection() OVERRIDE;
+ virtual void negotiationNeeded() override;
+ virtual void didGenerateICECandidate(const WebRTCICECandidate&) override;
+ virtual void didChangeSignalingState(SignalingState) override;
+ virtual void didChangeICEGatheringState(ICEGatheringState) override;
+ virtual void didChangeICEConnectionState(ICEConnectionState) override;
+ virtual void didAddRemoteStream(const WebMediaStream&) override;
+ virtual void didRemoveRemoteStream(const WebMediaStream&) override;
+ virtual void didAddRemoteDataChannel(WebRTCDataChannelHandler*) override;
+ virtual void releasePeerConnectionHandler() override;
+ virtual void closePeerConnection() override;
// EventTarget
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
// ActiveDOMObject
- virtual void suspend() OVERRIDE;
- virtual void resume() OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual void suspend() override;
+ virtual void resume() override;
+ virtual void stop() override;
// We keep the this object alive until either stopped or closed.
- virtual bool hasPendingActivity() const OVERRIDE
+ virtual bool hasPendingActivity() const override
{
return !m_closed && !m_stopped;
}
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
RTCPeerConnection(ExecutionContext*, RTCConfiguration*, WebMediaConstraints, ExceptionState&);
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.h ('k') | Source/modules/mediastream/RTCSessionDescription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698