X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fchild%2Fnpapi%2Fplugin_stream_url.h;h=f63593dd1423fbe3f056e0c195e2154554b9db9e;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=3b52d8509eb0197345f7936dd705a4d7d4e7dd8e;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/child/npapi/plugin_stream_url.h b/src/content/child/npapi/plugin_stream_url.h index 3b52d85..f63593d 100644 --- a/src/content/child/npapi/plugin_stream_url.h +++ b/src/content/child/npapi/plugin_stream_url.h @@ -34,6 +34,8 @@ class PluginStreamUrl : public PluginStream, void URLRedirectResponse(bool allow); + void FetchRange(const std::string& range); + // Stop sending the stream to the client. // Overrides the base Close so we can cancel our fetching the URL if // it is still loading. @@ -69,9 +71,14 @@ class PluginStreamUrl : public PluginStream, GURL url_; unsigned long id_; + // Ids of additional resources requested via range requests issued on // seekable streams. + // This is used when we're loading resources through the renderer, i.e. not + // using plugin_url_fetcher_. std::vector range_requests_; + // This is used when we're using plugin_url_fetcher_. + std::vector range_request_fetchers_; // If the plugin participates in HTTP URL redirect handling then this member // holds the url being redirected to while we wait for the plugin to make a