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

Unified Diff: net/url_request/url_request.h

Issue 99533002: Disabled resource scheduling when using a SPDY proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved spdy proxy check to dispatcher as an explicit call when we start to get a response and added … Created 6 years, 11 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/browser/loader/resource_scheduler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 119fbd98d097c47527988a647a6ea5506bea38a8..84971141cc5c80f7c6e100111f81536491b1224c 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -500,6 +500,11 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
return response_info_.was_fetched_via_proxy;
}
+ // Returns true if the URLRequest was delivered over SPDY.
willchan no longer on Chromium 2014/01/08 19:03:09 I'm mostly fine with this, but it might be the tim
Pat Meenan 2014/01/08 19:10:57 It is true for both cases, the flag gets set as lo
+ bool was_fetched_via_spdy() const {
+ return response_info_.was_fetched_via_spdy;
+ }
+
// Returns the host and port that the content was fetched from. See
// http_response_info.h for caveats relating to cached content.
HostPortPair GetSocketAddress() const;
« no previous file with comments | « content/browser/loader/resource_scheduler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698