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

Unified Diff: net/url_request/url_request.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: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 4c2e2c35385be5fd4baa4fe832b27a35bc6c1822..f5543ae2ff83b3faf93831538cae866cc3911505 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -345,6 +345,10 @@ bool URLRequest::IsFileAccessAllowed() {
return URLRequestJobManager::GetInstance()->enable_file_access();
}
+void URLRequest::set_virtual_url(const GURL& virtual_url) {
darin (slow to review) 2012/03/27 03:20:49 we definitely don't want to teach the network stac
chebert 2012/03/31 21:03:18 Done.
+ virtual_url_ = virtual_url;
+}
+
void URLRequest::set_first_party_for_cookies(
const GURL& first_party_for_cookies) {
first_party_for_cookies_ = first_party_for_cookies;

Powered by Google App Engine
This is Rietveld 408576698