| Index: net/base/host_port_pair.h
|
| diff --git a/net/base/host_port_pair.h b/net/base/host_port_pair.h
|
| index a4e5761bcccfe72d2cd3e5c2044352f961ff8939..a7687299797a4a05de94d0533c1d3af26fed177f 100644
|
| --- a/net/base/host_port_pair.h
|
| +++ b/net/base/host_port_pair.h
|
| @@ -44,25 +44,15 @@ class NET_EXPORT HostPortPair {
|
| return host_ == other.host_ && port_ == other.port_;
|
| }
|
|
|
| - bool IsEmpty() const {
|
| - return host_.empty() && port_ == 0;
|
| - }
|
| + bool IsEmpty() const { return host_.empty() && port_ == 0; }
|
|
|
| - const std::string& host() const {
|
| - return host_;
|
| - }
|
| + const std::string& host() const { return host_; }
|
|
|
| - uint16 port() const {
|
| - return port_;
|
| - }
|
| + uint16 port() const { return port_; }
|
|
|
| - void set_host(const std::string& in_host) {
|
| - host_ = in_host;
|
| - }
|
| + void set_host(const std::string& in_host) { host_ = in_host; }
|
|
|
| - void set_port(uint16 in_port) {
|
| - port_ = in_port;
|
| - }
|
| + void set_port(uint16 in_port) { port_ = in_port; }
|
|
|
| // ToString() will convert the HostPortPair to "host:port". If |host_| is an
|
| // IPv6 literal, it will add brackets around |host_|.
|
|
|