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

Unified Diff: webkit/glue/plugins/plugin_stream_url.h

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/glue/plugins/plugin_stream.cc ('k') | webkit/glue/plugins/plugin_stream_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « webkit/glue/plugins/plugin_stream.cc ('k') | webkit/glue/plugins/plugin_stream_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698