OLD | NEW |
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 #include "net/dns/dns_config_service_posix.h" | 5 #include "net/dns/dns_config_service_posix.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/file_util.h" | |
12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
13 #include "base/files/file_path_watcher.h" | 12 #include "base/files/file_path_watcher.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
16 #include "base/time.h" | 15 #include "base/time.h" |
17 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
18 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
19 #include "net/dns/dns_hosts.h" | 18 #include "net/dns/dns_hosts.h" |
20 #include "net/dns/dns_protocol.h" | 19 #include "net/dns/dns_protocol.h" |
21 #include "net/dns/notify_watcher_mac.h" | 20 #include "net/dns/notify_watcher_mac.h" |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 virtual void ReadNow() OVERRIDE {} | 395 virtual void ReadNow() OVERRIDE {} |
397 virtual bool StartWatching() OVERRIDE { return false; } | 396 virtual bool StartWatching() OVERRIDE { return false; } |
398 }; | 397 }; |
399 // static | 398 // static |
400 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { | 399 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { |
401 return scoped_ptr<DnsConfigService>(new StubDnsConfigService()); | 400 return scoped_ptr<DnsConfigService>(new StubDnsConfigService()); |
402 } | 401 } |
403 #endif | 402 #endif |
404 | 403 |
405 } // namespace net | 404 } // namespace net |
OLD | NEW |