| 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> | 7 #include <errno.h> |
| 8 #include <limits.h> |
| 8 | 9 |
| 9 #include <cstring> | 10 #include <cstring> |
| 10 | 11 |
| 11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 12 | 13 |
| 13 #if defined(OS_POSIX) | 14 #if defined(OS_POSIX) |
| 14 #include <netinet/in.h> | 15 #include <netinet/in.h> |
| 15 #if !defined(OS_NACL) | 16 #if !defined(OS_NACL) |
| 16 #include <net/if.h> | 17 #include <net/if.h> |
| 17 #if !defined(OS_ANDROID) | 18 #if !defined(OS_ANDROID) |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // TODO(wtc): implement with the GetAdaptersAddresses function. | 146 // TODO(wtc): implement with the GetAdaptersAddresses function. |
| 146 NOTIMPLEMENTED(); | 147 NOTIMPLEMENTED(); |
| 147 return false; | 148 return false; |
| 148 #else | 149 #else |
| 149 NOTIMPLEMENTED(); | 150 NOTIMPLEMENTED(); |
| 150 return false; | 151 return false; |
| 151 #endif // defined(various platforms) | 152 #endif // defined(various platforms) |
| 152 } | 153 } |
| 153 | 154 |
| 154 } // namespace net | 155 } // namespace net |
| OLD | NEW |