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

Unified Diff: Source/modules/mediasource/SourceBuffer.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/mediasource/MediaSourceRegistry.h ('k') | Source/modules/mediasource/SourceBufferList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBuffer.h
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h
index 1661b6ae6ec0b7d2a6436a1bce13e101ce5cb6eb..79804a003a3b9a50c4fb9695da2aa6c125367f70 100644
--- a/Source/modules/mediasource/SourceBuffer.h
+++ b/Source/modules/mediasource/SourceBuffer.h
@@ -51,7 +51,7 @@ class Stream;
class TimeRanges;
class WebSourceBuffer;
-class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineData, public FileReaderLoaderClient, public WebSourceBufferClient {
+class SourceBuffer final : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineData, public FileReaderLoaderClient, public WebSourceBufferClient {
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<SourceBuffer>);
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer);
@@ -84,19 +84,19 @@ public:
void removedFromMediaSource();
// ActiveDOMObject interface
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void suspend() OVERRIDE;
- virtual void resume() OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void suspend() override;
+ virtual void resume() override;
+ virtual void stop() override;
// EventTarget interface
- virtual ExecutionContext* executionContext() const OVERRIDE;
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual ExecutionContext* executionContext() const override;
+ virtual const AtomicString& interfaceName() const override;
// WebSourceBufferClient interface
- virtual void initializationSegmentReceived() OVERRIDE;
+ virtual void initializationSegmentReceived() override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
SourceBuffer(PassOwnPtr<WebSourceBuffer>, MediaSource*, GenericEventQueue*);
@@ -115,10 +115,10 @@ private:
void clearAppendStreamState();
// FileReaderLoaderClient interface
- virtual void didStartLoading() OVERRIDE;
- virtual void didReceiveDataForClient(const char* data, unsigned dataLength) OVERRIDE;
- virtual void didFinishLoading() OVERRIDE;
- virtual void didFail(FileError::ErrorCode) OVERRIDE;
+ virtual void didStartLoading() override;
+ virtual void didReceiveDataForClient(const char* data, unsigned dataLength) override;
+ virtual void didFinishLoading() override;
+ virtual void didFail(FileError::ErrorCode) override;
OwnPtr<WebSourceBuffer> m_webSourceBuffer;
Member<MediaSource> m_source;
« no previous file with comments | « Source/modules/mediasource/MediaSourceRegistry.h ('k') | Source/modules/mediasource/SourceBufferList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698