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

Unified Diff: content/child/npapi/plugin_url_fetcher.h

Issue 23830007: Support byte range requests when routing resource requests directly through the browser process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 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 | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_url_fetcher.h
===================================================================
--- content/child/npapi/plugin_url_fetcher.h (revision 223418)
+++ content/child/npapi/plugin_url_fetcher.h (working copy)
@@ -12,6 +12,7 @@
#include "webkit/child/resource_loader_bridge.h"
namespace webkit_glue {
+class MultipartResponseDelegate;
class ResourceLoaderBridge;
}
@@ -25,7 +26,8 @@
const GURL& url,
const GURL& first_party_for_cookies,
const std::string& method,
- const std::string& post_data,
+ const char* buf,
+ unsigned int len,
const GURL& referrer,
bool notify_redirects,
bool is_plugin_src_load,
@@ -63,13 +65,14 @@
GURL url_;
GURL first_party_for_cookies_;
std::string method_;
- std::string post_data_;
GURL referrer_;
bool notify_redirects_;
bool is_plugin_src_load_;
unsigned long resource_id_;
- int data_offset_;
+ int64 data_offset_;
+ scoped_ptr<webkit_glue::MultipartResponseDelegate> multipart_delegate_;
+
scoped_ptr<webkit_glue::ResourceLoaderBridge> bridge_;
DISALLOW_COPY_AND_ASSIGN(PluginURLFetcher);
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698