| Index: webkit/glue/plugins/plugin_stream_url.h
|
| ===================================================================
|
| --- webkit/glue/plugins/plugin_stream_url.h (revision 2387)
|
| +++ webkit/glue/plugins/plugin_stream_url.h (working copy)
|
| @@ -34,6 +34,12 @@
|
| // it is still loading.
|
| virtual bool Close(NPReason reason);
|
|
|
| + virtual WebPluginResourceClient* AsResourceClient() {
|
| + return static_cast<WebPluginResourceClient*>(this);
|
| + }
|
| +
|
| + virtual void CancelRequest();
|
| +
|
| //
|
| // WebPluginResourceClient methods
|
| //
|
| @@ -43,10 +49,11 @@
|
| uint32 expected_length,
|
| uint32 last_modified,
|
| bool* cancel);
|
| - void DidReceiveData(const char* buffer, int length);
|
| + void DidReceiveData(const char* buffer, int length, int data_offset);
|
| void DidFinishLoading();
|
| void DidFail();
|
|
|
| +
|
| private:
|
| GURL url_;
|
| int id_;
|
|
|