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

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 10854151: Allow transitioning to HAVE_METADATA before pipeline initialization completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments and fix tests. Created 8 years, 4 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: webkit/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index d09a961f15eed69d75ea9318b39c4ff84b063d49..6ee31d9cdf094c328b46367c7c8b2eeee24d18d4 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -226,10 +226,10 @@ class WebMediaPlayerImpl
void Repaint();
- void OnPipelineInitialize(media::PipelineStatus status);
void OnPipelineSeek(media::PipelineStatus status);
void OnPipelineEnded(media::PipelineStatus status);
void OnPipelineError(media::PipelineStatus error);
+ void OnPipelineReadyState(media::Pipeline::ReadyState readyState);
scherkus (not reviewing) 2012/08/15 23:43:16 unix_hacker
acolwell GONE FROM CHROMIUM 2012/08/16 00:54:18 Done.
void OnDemuxerOpened();
void OnKeyAdded(const std::string& key_system, const std::string& session_id);
void OnKeyError(const std::string& key_system,
@@ -341,6 +341,8 @@ class WebMediaPlayerImpl
// The decryptor that manages decryption keys and decrypts encrypted frames.
ProxyDecryptor decryptor_;
+ bool starting_;
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698