| Index: net/base/host_port_pair.h
|
| diff --git a/net/base/host_port_pair.h b/net/base/host_port_pair.h
|
| index ebb2dd16406c4457c9ec0c584abcd9ecea763ea3..a5ee6bda3ff542624b484b7a11811b708fec3e11 100644
|
| --- a/net/base/host_port_pair.h
|
| +++ b/net/base/host_port_pair.h
|
| @@ -34,9 +34,6 @@ class NET_EXPORT HostPortPair {
|
| // ToString().
|
| static HostPortPair FromString(const std::string& str);
|
|
|
| - // Returns the estimate of dynamically allocated memory in bytes.
|
| - static size_t EstimateMemoryUsage(const HostPortPair& pair);
|
| -
|
| // TODO(willchan): Define a functor instead.
|
| // Comparator function so this can be placed in a std::map.
|
| bool operator<(const HostPortPair& other) const {
|
| @@ -71,6 +68,9 @@ class NET_EXPORT HostPortPair {
|
| // Returns |host_|, adding IPv6 brackets if needed.
|
| std::string HostForURL() const;
|
|
|
| + // Returns the estimate of dynamically allocated memory in bytes.
|
| + size_t EstimateMemoryUsage() const;
|
| +
|
| private:
|
| // If |host_| represents an IPv6 address, this string will not contain
|
| // brackets around the address.
|
|
|