| Index: webkit/glue/webmediaplayer_proxy.cc
|
| diff --git a/webkit/glue/webmediaplayer_proxy.cc b/webkit/glue/webmediaplayer_proxy.cc
|
| index 3110f37fb72c524dbfc0e933408b26f820c7f522..abdb671f235ac04601123ae16a4db8d1ce91c802 100644
|
| --- a/webkit/glue/webmediaplayer_proxy.cc
|
| +++ b/webkit/glue/webmediaplayer_proxy.cc
|
| @@ -12,6 +12,7 @@
|
| #include "webkit/glue/media/web_video_renderer.h"
|
| #include "webkit/glue/webmediaplayer_impl.h"
|
|
|
| +using media::NetworkEvent;
|
| using media::PipelineStatus;
|
|
|
| namespace webkit_glue {
|
| @@ -127,9 +128,9 @@ void WebMediaPlayerProxy::PipelineErrorCallback(PipelineStatus error) {
|
| this, &WebMediaPlayerProxy::PipelineErrorTask, error));
|
| }
|
|
|
| -void WebMediaPlayerProxy::NetworkEventCallback(bool is_downloading_data) {
|
| +void WebMediaPlayerProxy::NetworkEventCallback(NetworkEvent type) {
|
| render_loop_->PostTask(FROM_HERE, NewRunnableMethod(
|
| - this, &WebMediaPlayerProxy::NetworkEventTask, is_downloading_data));
|
| + this, &WebMediaPlayerProxy::NetworkEventTask, type));
|
| }
|
|
|
| void WebMediaPlayerProxy::AddDataSource(WebDataSource* data_source) {
|
| @@ -173,10 +174,10 @@ void WebMediaPlayerProxy::PipelineErrorTask(PipelineStatus error) {
|
| webmediaplayer_->OnPipelineError(error);
|
| }
|
|
|
| -void WebMediaPlayerProxy::NetworkEventTask(bool is_downloading_data) {
|
| +void WebMediaPlayerProxy::NetworkEventTask(NetworkEvent type) {
|
| DCHECK(MessageLoop::current() == render_loop_);
|
| if (webmediaplayer_)
|
| - webmediaplayer_->OnNetworkEvent(is_downloading_data);
|
| + webmediaplayer_->OnNetworkEvent(type);
|
| }
|
|
|
| void WebMediaPlayerProxy::GetCurrentFrame(
|
|
|