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

Unified Diff: net/http/http_response_info.h

Issue 2334623003: Store net::ProxyServer in HttpResponseInfo object (Closed)
Patch Set: Rebased Created 4 years, 2 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/http/http_response_info.h
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index 648c474377fa93ba60e5e4d75998c49a2c29f008..69bff28c7131d984b2b4e0b6a62cb519307434fd 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -8,9 +8,9 @@
#include <string>
#include "base/time/time.h"
-#include "net/base/host_port_pair.h"
#include "net/base/net_export.h"
#include "net/http/http_vary_data.h"
+#include "net/proxy/proxy_server.h"
#include "net/socket/next_proto.h"
#include "net/ssl/ssl_info.h"
@@ -126,9 +126,9 @@ class NET_EXPORT HttpResponseInfo {
// True if the request was fetched via an explicit proxy. The proxy could
// be any type of proxy, HTTP or SOCKS. Note, we do not know if a
// transparent proxy may have been involved. If true, |proxy_server| contains
- // the name of the proxy server that was used.
+ // the proxy server that was used.
bool was_fetched_via_proxy;
eroman 2016/10/05 01:45:12 Can you add a TODO() to remove this?
tbansal1 2016/10/06 14:35:09 Done.
- HostPortPair proxy_server;
+ ProxyServer proxy_server;
// Whether the request use http proxy or server authentication.
bool did_use_http_auth;

Powered by Google App Engine
This is Rietveld 408576698