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

Unified Diff: net/proxy/proxy_info.h

Issue 144623006: Implement support for QUIC proxies in ProxyServer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments 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 | « chrome/test/data/extensions/api_test/proxy/individual/test.js ('k') | net/proxy/proxy_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_info.h
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h
index 243cbba80fd8fef9f152f52ef9bb98cab8a8c54b..336cb3a58881c2982f4d1a4b4d10d5e16597cdf7 100644
--- a/net/proxy/proxy_info.h
+++ b/net/proxy/proxy_info.h
@@ -75,6 +75,13 @@ class NET_EXPORT ProxyInfo {
return proxy_server().is_http();
}
+ // Returns true if the first valid proxy server is a quic proxy.
+ bool is_quic() const {
+ if (is_empty())
+ return false;
+ return proxy_server().is_quic();
+ }
+
// Returns true if the first valid proxy server is a socks server.
bool is_socks() const {
if (is_empty())
« no previous file with comments | « chrome/test/data/extensions/api_test/proxy/individual/test.js ('k') | net/proxy/proxy_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698