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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.cc

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed extra logging code. Created 8 years, 9 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/browser/renderer_host/resource_dispatcher_host_impl.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
index 76c0ea9838db545f51ba7e3beeb2c99cb4d6dab2..6978d77afa3d2ab274d2382f48d226986c68c6eb 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
@@ -793,6 +793,7 @@ void ResourceDispatcherHostImpl::BeginRequest(
} else {
request = new net::URLRequest(request_data.url, this);
request->set_method(request_data.method);
+ request->set_virtual_url(request_data.virtual_url);
request->set_first_party_for_cookies(request_data.first_party_for_cookies);
request->set_referrer(referrer.url.spec());
net::HttpRequestHeaders headers;

Powered by Google App Engine
This is Rietveld 408576698