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

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

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing 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/curvecp/curvecp_server_socket.cc ('k') | net/dns/dns_config_service_win_unittest.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_H_ 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_H_
6 #define NET_DNS_DNS_CONFIG_SERVICE_H_ 6 #define NET_DNS_DNS_CONFIG_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 // Needed on shared build with MSVS2010 to avoid multiple definitions of
19 // std::vector<IPEndPoint>.
20 #include "net/base/address_list.h"
18 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint 21 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint
19 #include "net/base/net_export.h" 22 #include "net/base/net_export.h"
20 #include "net/dns/dns_hosts.h" 23 #include "net/dns/dns_hosts.h"
21 24
22 namespace base { 25 namespace base {
23 class Value; 26 class Value;
24 } 27 }
25 28
26 namespace net { 29 namespace net {
27 30
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Started in Invalidate*, cleared in On*Read. 131 // Started in Invalidate*, cleared in On*Read.
129 base::OneShotTimer<DnsConfigService> timer_; 132 base::OneShotTimer<DnsConfigService> timer_;
130 133
131 private: 134 private:
132 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); 135 DISALLOW_COPY_AND_ASSIGN(DnsConfigService);
133 }; 136 };
134 137
135 } // namespace net 138 } // namespace net
136 139
137 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ 140 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/curvecp/curvecp_server_socket.cc ('k') | net/dns/dns_config_service_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698