Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: net/dns/dns_config_service_posix.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/dns/dns_config_service.h ('k') | net/dns/dns_config_service_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_ 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_
6 #define NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_ 6 #define NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_
7 7
8 #if !defined(OS_ANDROID) 8 #if !defined(OS_ANDROID)
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <netinet/in.h> 10 #include <netinet/in.h>
11 #include <resolv.h> 11 #include <resolv.h>
12 #endif 12 #endif
13 13
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h"
16 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
17 #include "net/base/network_change_notifier.h" 18 #include "net/base/network_change_notifier.h"
18 #include "net/dns/dns_config_service.h" 19 #include "net/dns/dns_config_service.h"
19 20
20 namespace base { 21 namespace base {
21 class Time; 22 class Time;
22 } // namespace base 23 } // namespace base
23 24
24 namespace net { 25 namespace net {
25 26
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Fills in |dns_config| from |res|. 97 // Fills in |dns_config| from |res|.
97 ConfigParsePosixResult NET_EXPORT_PRIVATE ConvertResStateToDnsConfig( 98 ConfigParsePosixResult NET_EXPORT_PRIVATE ConvertResStateToDnsConfig(
98 const struct __res_state& res, DnsConfig* dns_config); 99 const struct __res_state& res, DnsConfig* dns_config);
99 #endif 100 #endif
100 101
101 } // namespace internal 102 } // namespace internal
102 103
103 } // namespace net 104 } // namespace net
104 105
105 #endif // NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_ 106 #endif // NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_
OLDNEW
« no previous file with comments | « net/dns/dns_config_service.h ('k') | net/dns/dns_config_service_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698