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

Unified Diff: webkit/media/webmediaplayer_proxy.cc

Issue 10535101: Replace Pipeline::SetNetworkActivity() with BufferedDataSource -> WebMediaPlayerImpl callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | « webkit/media/webmediaplayer_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_proxy.cc
diff --git a/webkit/media/webmediaplayer_proxy.cc b/webkit/media/webmediaplayer_proxy.cc
index 27542067935b8854e40f9d9904a526eccce5f608..fdbd54485d6e71ebfdf11f74ab99e29d939e8ca1 100644
--- a/webkit/media/webmediaplayer_proxy.cc
+++ b/webkit/media/webmediaplayer_proxy.cc
@@ -12,7 +12,6 @@
#include "media/filters/video_renderer_base.h"
#include "webkit/media/webmediaplayer_impl.h"
-using media::NetworkEvent;
using media::PipelineStatus;
namespace webkit_media {
@@ -113,11 +112,6 @@ void WebMediaPlayerProxy::PipelineErrorCallback(PipelineStatus error) {
&WebMediaPlayerProxy::PipelineErrorTask, this, error));
}
-void WebMediaPlayerProxy::NetworkEventCallback(NetworkEvent type) {
- render_loop_->PostTask(FROM_HERE, base::Bind(
- &WebMediaPlayerProxy::NetworkEventTask, this, type));
-}
-
void WebMediaPlayerProxy::RepaintTask() {
DCHECK(render_loop_->BelongsToCurrentThread());
{
@@ -154,12 +148,6 @@ void WebMediaPlayerProxy::PipelineErrorTask(PipelineStatus error) {
webmediaplayer_->OnPipelineError(error);
}
-void WebMediaPlayerProxy::NetworkEventTask(NetworkEvent type) {
- DCHECK(render_loop_->BelongsToCurrentThread());
- if (webmediaplayer_)
- webmediaplayer_->OnNetworkEvent(type);
-}
-
void WebMediaPlayerProxy::SetOpaqueTask(bool opaque) {
DCHECK(render_loop_->BelongsToCurrentThread());
if (webmediaplayer_)
« no previous file with comments | « webkit/media/webmediaplayer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698