Chromium Code Reviews| Index: net/proxy/proxy_server.cc |
| diff --git a/net/proxy/proxy_server.cc b/net/proxy/proxy_server.cc |
| index 76fa0d6224f346fe45f7eacf9c45c255b5252e1d..dc875eb770d06360cb85e593a39816d880a3d4a2 100644 |
| --- a/net/proxy/proxy_server.cc |
| +++ b/net/proxy/proxy_server.cc |
| @@ -209,6 +209,10 @@ ProxyServer::Scheme ProxyServer::GetSchemeFromURI(const std::string& scheme) { |
| return GetSchemeFromURIInternal(scheme); |
| } |
| +size_t ProxyServer::EstimateMemoryUsage() const { |
| + return HostPortPair::EstimateMemoryUsage(host_port_pair_); |
|
Bence
2017/02/02 14:15:19
1.It's just a string, how bad can it get? Few doz
xunjieli
2017/02/02 14:53:42
dskiba@ can correct me if I am wrong. My understan
Bence
2017/02/02 15:05:08
Ah okay, that makes perfect sense. Thank you for
|
| +} |
| + |
| // static |
| ProxyServer ProxyServer::FromSchemeHostAndPort( |
| Scheme scheme, |