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

Unified Diff: Source/modules/mediastream/MediaStream.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
« no previous file with comments | « Source/modules/mediastream/MediaDevicesRequest.h ('k') | Source/modules/mediastream/MediaStreamEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStream.h
diff --git a/Source/modules/mediastream/MediaStream.h b/Source/modules/mediastream/MediaStream.h
index 50767ae16c35df33b9da0ca100e20d9ab3c741b2..8414760e033a6172b63cd660e456ad9f497b8915 100644
--- a/Source/modules/mediastream/MediaStream.h
+++ b/Source/modules/mediastream/MediaStream.h
@@ -37,7 +37,7 @@ namespace blink {
class ExceptionState;
-class MediaStream FINAL
+class MediaStream final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<MediaStream>
, public URLRegistrable
, public MediaStreamDescriptorClient
@@ -77,29 +77,29 @@ public:
void trackEnded();
// MediaStreamDescriptorClient
- virtual void streamEnded() OVERRIDE;
+ virtual void streamEnded() override;
MediaStreamDescriptor* descriptor() const { return m_descriptor.get(); }
// EventTarget
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override;
// URLRegistrable
- virtual URLRegistry& registry() const OVERRIDE;
+ virtual URLRegistry& registry() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
MediaStream(ExecutionContext*, MediaStreamDescriptor*);
MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, const MediaStreamTrackVector& videoTracks);
// ContextLifecycleObserver
- virtual void contextDestroyed() OVERRIDE;
+ virtual void contextDestroyed() override;
// MediaStreamDescriptorClient
- virtual void addRemoteTrack(MediaStreamComponent*) OVERRIDE;
- virtual void removeRemoteTrack(MediaStreamComponent*) OVERRIDE;
+ virtual void addRemoteTrack(MediaStreamComponent*) override;
+ virtual void removeRemoteTrack(MediaStreamComponent*) override;
void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>);
void scheduledEventTimerFired(Timer<MediaStream>*);
« no previous file with comments | « Source/modules/mediastream/MediaDevicesRequest.h ('k') | Source/modules/mediastream/MediaStreamEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698