Index: net/dns/dns_hosts.h |
diff --git a/net/dns/dns_hosts.h b/net/dns/dns_hosts.h |
index c2b290907ad78d44a5b762b7f86f86a504e54505..aa60a4d99a1c6736453308659360c50a61db4d92 100644 |
--- a/net/dns/dns_hosts.h |
+++ b/net/dns/dns_hosts.h |
@@ -18,13 +18,13 @@ |
#include "net/base/net_util.h" // can't forward-declare IPAddressNumber |
namespace net { |
- typedef std::pair<std::string, AddressFamily> DnsHostsKey; |
+typedef std::pair<std::string, AddressFamily> DnsHostsKey; |
}; |
namespace BASE_HASH_NAMESPACE { |
#if defined(COMPILER_GCC) |
-template<> |
+template <> |
struct hash<net::DnsHostsKey> { |
std::size_t operator()(const net::DnsHostsKey& key) const { |
hash<base::StringPiece> string_piece_hash; |
@@ -64,16 +64,13 @@ typedef std::map<DnsHostsKey, IPAddressNumber> DnsHosts; |
// Parses |contents| (as read from /etc/hosts or equivalent) and stores results |
// in |dns_hosts|. Invalid lines are ignored (as in most implementations). |
-void NET_EXPORT_PRIVATE ParseHosts(const std::string& contents, |
- DnsHosts* dns_hosts); |
+void NET_EXPORT_PRIVATE |
+ ParseHosts(const std::string& contents, DnsHosts* dns_hosts); |
// As above but reads the file pointed to by |path|. |
-bool NET_EXPORT_PRIVATE ParseHostsFile(const base::FilePath& path, |
- DnsHosts* dns_hosts); |
- |
- |
+bool NET_EXPORT_PRIVATE |
+ ParseHostsFile(const base::FilePath& path, DnsHosts* dns_hosts); |
} // namespace net |
#endif // NET_DNS_DNS_HOSTS_H_ |
- |