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

Side by Side Diff: Source/modules/mediasource/SourceBuffer.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 namespace WebCore { 51 namespace WebCore {
52 52
53 class ExceptionState; 53 class ExceptionState;
54 class FileReaderLoader; 54 class FileReaderLoader;
55 class GenericEventQueue; 55 class GenericEventQueue;
56 class MediaSource; 56 class MediaSource;
57 class Stream; 57 class Stream;
58 class TimeRanges; 58 class TimeRanges;
59 59
60 class SourceBuffer : public RefCounted<SourceBuffer>, public ActiveDOMObject, pu blic EventTargetWithInlineData, public ScriptWrappable, public FileReaderLoaderC lient { 60 class SourceBuffer FINAL : public RefCounted<SourceBuffer>, public ActiveDOMObje ct, public EventTargetWithInlineData, public ScriptWrappable, public FileReaderL oaderClient {
61 REFCOUNTED_EVENT_TARGET(SourceBuffer); 61 REFCOUNTED_EVENT_TARGET(SourceBuffer);
62 public: 62 public:
63 static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, M ediaSource*, GenericEventQueue*); 63 static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, M ediaSource*, GenericEventQueue*);
64 static const AtomicString& segmentsKeyword(); 64 static const AtomicString& segmentsKeyword();
65 static const AtomicString& sequenceKeyword(); 65 static const AtomicString& sequenceKeyword();
66 66
67 virtual ~SourceBuffer(); 67 virtual ~SourceBuffer();
68 68
69 // SourceBuffer.idl methods 69 // SourceBuffer.idl methods
70 const AtomicString& mode() const { return m_mode; } 70 const AtomicString& mode() const { return m_mode; }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool m_streamMaxSizeValid; 139 bool m_streamMaxSizeValid;
140 unsigned long long m_streamMaxSize; 140 unsigned long long m_streamMaxSize;
141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; 141 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner;
142 RefPtr<Stream> m_stream; 142 RefPtr<Stream> m_stream;
143 OwnPtr<FileReaderLoader> m_loader; 143 OwnPtr<FileReaderLoader> m_loader;
144 }; 144 };
145 145
146 } // namespace WebCore 146 } // namespace WebCore
147 147
148 #endif 148 #endif
OLDNEW
« 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