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

Unified Diff: content/renderer/npapi/webplugin_impl.cc

Issue 392333004: Drop 'WebURLRequest::setTargetType' from various content/renderer files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pepper_url_loader_host Created 6 years, 5 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
Index: content/renderer/npapi/webplugin_impl.cc
diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc
index 8aca907d782ac30e4c046a155e0e3af67fbaa7e4..c3e5113309e0fbe5132578a6d5c5fe5a74721640 100644
--- a/content/renderer/npapi/webplugin_impl.cc
+++ b/content/renderer/npapi/webplugin_impl.cc
@@ -1283,7 +1283,10 @@ bool WebPluginImpl::InitiateHTTPRequest(unsigned long resource_id,
info.request.setFirstPartyForCookies(
webframe_->document().firstPartyForCookies());
info.request.setRequestorProcessID(delegate_->GetProcessId());
- info.request.setTargetType(WebURLRequest::TargetIsObject);
+ // TODO(mkwst): Is this a request for a plugin object itself
+ // (RequestContextObject), or a request that the plugin makes
+ // (RequestContextPlugin)?
+ info.request.setRequestContext(WebURLRequest::RequestContextPlugin);
info.request.setHTTPMethod(WebString::fromUTF8(method));
info.pending_failure_notification = false;
info.notify_redirects = notify_redirects;
« no previous file with comments | « content/renderer/media/buffered_resource_loader.cc ('k') | content/renderer/pepper/pepper_url_loader_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698