| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/dns/dns_util.h" | 5 #include "net/dns/dns_util.h" |
| 6 | 6 |
| 7 #include <errno.h> |
| 8 |
| 7 #include <cstring> | 9 #include <cstring> |
| 8 | 10 |
| 9 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 10 | 12 |
| 11 #if defined(OS_POSIX) | 13 #if defined(OS_POSIX) |
| 12 #include <netinet/in.h> | 14 #include <netinet/in.h> |
| 13 #if !defined(OS_NACL) | 15 #if !defined(OS_NACL) |
| 14 #include <net/if.h> | 16 #include <net/if.h> |
| 15 #if !defined(OS_ANDROID) | 17 #if !defined(OS_ANDROID) |
| 16 #include <ifaddrs.h> | 18 #include <ifaddrs.h> |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // TODO(wtc): implement with the GetAdaptersAddresses function. | 145 // TODO(wtc): implement with the GetAdaptersAddresses function. |
| 144 NOTIMPLEMENTED(); | 146 NOTIMPLEMENTED(); |
| 145 return false; | 147 return false; |
| 146 #else | 148 #else |
| 147 NOTIMPLEMENTED(); | 149 NOTIMPLEMENTED(); |
| 148 return false; | 150 return false; |
| 149 #endif // defined(various platforms) | 151 #endif // defined(various platforms) |
| 150 } | 152 } |
| 151 | 153 |
| 152 } // namespace net | 154 } // namespace net |
| OLD | NEW |