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

Side by Side Diff: webkit/media/webmediaplayer_impl.h

Issue 10803019: Chrome-side implementation of media source timestamp offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains Pipeline which is the actual media player pipeline, it glues 6 // It contains Pipeline which is the actual media player pipeline, it glues
7 // the media player pipeline, data source, audio renderer and renderer. 7 // the media player pipeline, data source, audio renderer and renderer.
8 // Pipeline would creates multiple threads and access some public methods 8 // Pipeline would creates multiple threads and access some public methods
9 // of this class, so we need to be extra careful about concurrent access of 9 // of this class, so we need to be extra careful about concurrent access of
10 // methods and members. 10 // methods and members.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const WebKit::WebVector<WebKit::WebString>& codecs); 193 const WebKit::WebVector<WebKit::WebString>& codecs);
194 virtual bool sourceRemoveId(const WebKit::WebString& id); 194 virtual bool sourceRemoveId(const WebKit::WebString& id);
195 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id); 195 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id);
196 // TODO(acolwell): Remove non-id version when http://webk.it/83788 fix lands. 196 // TODO(acolwell): Remove non-id version when http://webk.it/83788 fix lands.
197 virtual bool sourceAppend(const unsigned char* data, unsigned length); 197 virtual bool sourceAppend(const unsigned char* data, unsigned length);
198 virtual bool sourceAppend(const WebKit::WebString& id, 198 virtual bool sourceAppend(const WebKit::WebString& id,
199 const unsigned char* data, 199 const unsigned char* data,
200 unsigned length); 200 unsigned length);
201 virtual bool sourceAbort(const WebKit::WebString& id); 201 virtual bool sourceAbort(const WebKit::WebString& id);
202 virtual void sourceEndOfStream(EndOfStreamStatus status); 202 virtual void sourceEndOfStream(EndOfStreamStatus status);
203 virtual void sourceTimestampOffset(const WebKit::WebString&, float);
204 virtual void sourceClearTimestampOffset(const WebKit::WebString&);
203 205
204 virtual MediaKeyException generateKeyRequest( 206 virtual MediaKeyException generateKeyRequest(
205 const WebKit::WebString& key_system, 207 const WebKit::WebString& key_system,
206 const unsigned char* init_data, 208 const unsigned char* init_data,
207 unsigned init_data_length); 209 unsigned init_data_length);
208 210
209 virtual MediaKeyException addKey(const WebKit::WebString& key_system, 211 virtual MediaKeyException addKey(const WebKit::WebString& key_system,
210 const unsigned char* key, 212 const unsigned char* key,
211 unsigned key_length, 213 unsigned key_length,
212 const unsigned char* init_data, 214 const unsigned char* init_data,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 346
345 // The decryptor that manages decryption keys and decrypts encrypted frames. 347 // The decryptor that manages decryption keys and decrypts encrypted frames.
346 ProxyDecryptor decryptor_; 348 ProxyDecryptor decryptor_;
347 349
348 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 350 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
349 }; 351 };
350 352
351 } // namespace webkit_media 353 } // namespace webkit_media
352 354
353 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ 355 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698