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

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

Issue 10383229: Cleanup: Remove unneeded scoped_ptr.h includes from net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/stats.h ('k') | net/dns/dns_session.h » ('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 #pragma once 7 #pragma once
8 8
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 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/scoped_ptr.h"
15 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
16 #include "net/dns/dns_config_service.h" 15 #include "net/dns/dns_config_service.h"
17 16
18 namespace net { 17 namespace net {
19 18
20 // Use DnsConfigService::CreateSystemService to use it outside of tests. 19 // Use DnsConfigService::CreateSystemService to use it outside of tests.
21 namespace internal { 20 namespace internal {
22 21
23 class NET_EXPORT_PRIVATE DnsConfigServicePosix : public DnsConfigService { 22 class NET_EXPORT_PRIVATE DnsConfigServicePosix : public DnsConfigService {
24 public: 23 public:
(...skipping 12 matching lines...) Expand all
37 36
38 // Fills in |dns_config| from |res|. 37 // Fills in |dns_config| from |res|.
39 bool NET_EXPORT_PRIVATE ConvertResStateToDnsConfig( 38 bool NET_EXPORT_PRIVATE ConvertResStateToDnsConfig(
40 const struct __res_state& res, DnsConfig* dns_config); 39 const struct __res_state& res, DnsConfig* dns_config);
41 40
42 } // namespace internal 41 } // namespace internal
43 42
44 } // namespace net 43 } // namespace net
45 44
46 #endif // NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_ 45 #endif // NET_DNS_DNS_CONFIG_SERVICE_POSIX_H_
OLDNEW
« no previous file with comments | « net/disk_cache/stats.h ('k') | net/dns/dns_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698