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/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/files/file_path_watcher.h" | 12 #include "base/files/file_path_watcher.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "base/time.h" | 15 #include "base/time/time.h" |
16 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
17 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
18 #include "net/dns/dns_hosts.h" | 18 #include "net/dns/dns_hosts.h" |
19 #include "net/dns/dns_protocol.h" | 19 #include "net/dns/dns_protocol.h" |
20 #include "net/dns/notify_watcher_mac.h" | 20 #include "net/dns/notify_watcher_mac.h" |
21 #include "net/dns/serial_worker.h" | 21 #include "net/dns/serial_worker.h" |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 | 24 |
25 #if !defined(OS_ANDROID) | 25 #if !defined(OS_ANDROID) |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 virtual void ReadNow() OVERRIDE {} | 395 virtual void ReadNow() OVERRIDE {} |
396 virtual bool StartWatching() OVERRIDE { return false; } | 396 virtual bool StartWatching() OVERRIDE { return false; } |
397 }; | 397 }; |
398 // static | 398 // static |
399 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { | 399 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { |
400 return scoped_ptr<DnsConfigService>(new StubDnsConfigService()); | 400 return scoped_ptr<DnsConfigService>(new StubDnsConfigService()); |
401 } | 401 } |
402 #endif | 402 #endif |
403 | 403 |
404 } // namespace net | 404 } // namespace net |
OLD | NEW |