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

Unified Diff: net/proxy/proxy_server.h

Issue 1808001: Implement a 15 connection per proxy server limit. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Remove extra newline. Created 10 years, 8 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/proxy/proxy_server.h
diff --git a/net/proxy/proxy_server.h b/net/proxy/proxy_server.h
index d07939618420a9f22d2b9c0dd070b50c1dc8ac4c..d7a94f0383602eccf8acb7eec63d9a5e9b13fd31 100644
--- a/net/proxy/proxy_server.h
+++ b/net/proxy/proxy_server.h
@@ -12,6 +12,7 @@
#endif
#include <string>
+#include "net/base/host_port_pair.h"
namespace net {
@@ -65,8 +66,13 @@ class ProxyServer {
int port() const;
// Returns the <host>":"<port> string for the proxy server.
+ // TODO(willchan): Remove in favor of host_port_pair().
std::string host_and_port() const;
+ // TODO(willchan): Change to const HostPortPair& after refactoring |host_| and
+ // |port_| here.
+ HostPortPair host_port_pair() const;
+
// Parse from an input with format:
// [<scheme>"://"]<server>[":"<port>]
//

Powered by Google App Engine
This is Rietveld 408576698