OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/base/net_util.h" | 5 #include "net/base/net_util.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "base/strings/string_piece.h" | 43 #include "base/strings/string_piece.h" |
44 #include "base/strings/string_split.h" | 44 #include "base/strings/string_split.h" |
45 #include "base/strings/string_tokenizer.h" | 45 #include "base/strings/string_tokenizer.h" |
46 #include "base/strings/string_util.h" | 46 #include "base/strings/string_util.h" |
47 #include "base/strings/stringprintf.h" | 47 #include "base/strings/stringprintf.h" |
48 #include "base/strings/sys_string_conversions.h" | 48 #include "base/strings/sys_string_conversions.h" |
49 #include "base/strings/utf_offset_string_conversions.h" | 49 #include "base/strings/utf_offset_string_conversions.h" |
50 #include "base/strings/utf_string_conversions.h" | 50 #include "base/strings/utf_string_conversions.h" |
51 #include "base/synchronization/lock.h" | 51 #include "base/synchronization/lock.h" |
52 #include "base/sys_byteorder.h" | 52 #include "base/sys_byteorder.h" |
53 #include "base/time.h" | 53 #include "base/time/time.h" |
54 #include "base/values.h" | 54 #include "base/values.h" |
55 #include "googleurl/src/gurl.h" | 55 #include "googleurl/src/gurl.h" |
56 #include "googleurl/src/url_canon.h" | 56 #include "googleurl/src/url_canon.h" |
57 #include "googleurl/src/url_canon_ip.h" | 57 #include "googleurl/src/url_canon_ip.h" |
58 #include "googleurl/src/url_parse.h" | 58 #include "googleurl/src/url_parse.h" |
59 #include "grit/net_resources.h" | 59 #include "grit/net_resources.h" |
60 #if defined(OS_ANDROID) | 60 #if defined(OS_ANDROID) |
61 #include "net/android/network_library.h" | 61 #include "net/android/network_library.h" |
62 #endif | 62 #endif |
63 #include "net/base/dns_util.h" | 63 #include "net/base/dns_util.h" |
(...skipping 2160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2224 | 2224 |
2225 NetworkInterface::NetworkInterface(const std::string& name, | 2225 NetworkInterface::NetworkInterface(const std::string& name, |
2226 const IPAddressNumber& address) | 2226 const IPAddressNumber& address) |
2227 : name(name), address(address) { | 2227 : name(name), address(address) { |
2228 } | 2228 } |
2229 | 2229 |
2230 NetworkInterface::~NetworkInterface() { | 2230 NetworkInterface::~NetworkInterface() { |
2231 } | 2231 } |
2232 | 2232 |
2233 } // namespace net | 2233 } // namespace net |
OLD | NEW |