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

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

Issue 2859023: Boilerplate implementation of the Pepper URL Loader API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/glue/plugins/pepper_plugin_module.cc ('k') | webkit/glue/plugins/pepper_resource_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_resource.h
===================================================================
--- webkit/glue/plugins/pepper_resource.h (revision 50727)
+++ webkit/glue/plugins/pepper_resource.h (working copy)
@@ -15,6 +15,9 @@
class DeviceContext2D;
class ImageData;
class PluginModule;
+class URLLoader;
+class URLRequestInfo;
+class URLResponseInfo;
class Resource : public base::RefCountedThreadSafe<Resource> {
public:
@@ -29,6 +32,9 @@
// NULL if the resource does not match the specified type.
virtual DeviceContext2D* AsDeviceContext2D() { return NULL; }
virtual ImageData* AsImageData() { return NULL; }
+ virtual URLLoader* AsURLLoader() { return NULL; }
+ virtual URLRequestInfo* AsURLRequestInfo() { return NULL; }
+ virtual URLResponseInfo* AsURLResponseInfo() { return NULL; }
virtual Buffer* AsBuffer() { return NULL; }
private:
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_module.cc ('k') | webkit/glue/plugins/pepper_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698