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

Unified Diff: content/plugin/webplugin_delegate_stub.cc

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/child/plugin_messages.h ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_delegate_stub.cc
===================================================================
--- content/plugin/webplugin_delegate_stub.cc (revision 223418)
+++ content/plugin/webplugin_delegate_stub.cc (working copy)
@@ -425,12 +425,17 @@
void WebPluginDelegateStub::OnFetchURL(
const PluginMsg_FetchURL_Params& params) {
+ const char* data = NULL;
+ if (params.post_data.size())
+ data = &params.post_data[0];
+
delegate_->FetchURL(params.resource_id,
params.notify_id,
params.url,
params.first_party_for_cookies,
params.method,
- params.post_data,
+ data,
+ params.post_data.size(),
params.referrer,
params.notify_redirect,
params.is_plugin_src_load,
« no previous file with comments | « content/child/plugin_messages.h ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698