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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

Issue 23503043: Load NPAPI plugin resources through the browser process directly instead of going through the render (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 | « no previous file | content/browser/plugin_process_host.h » ('j') | content/plugin/webplugin_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_request_info_impl.cc
===================================================================
--- content/browser/loader/resource_request_info_impl.cc (revision 222566)
+++ content/browser/loader/resource_request_info_impl.cc (working copy)
@@ -195,6 +195,9 @@
*render_view_id = -1;
return false;
}
+ } else if (process_type_ == PROCESS_TYPE_PLUGIN) {
+ *render_process_id = origin_pid_;
+ *render_view_id = route_id_;
} else {
*render_process_id = child_id_;
*render_view_id = route_id_;
« no previous file with comments | « no previous file | content/browser/plugin_process_host.h » ('j') | content/plugin/webplugin_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698