| 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" | |
| 10 #include "base/bind.h" | 9 #include "base/bind.h" |
| 11 #include "base/files/file.h" | 10 #include "base/files/file.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/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 15 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/macros.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/metrics/histogram_macros.h" | 17 #include "base/metrics/histogram_macros.h" |
| 18 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
| 19 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
| 20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 21 #include "net/base/ip_endpoint.h" | 21 #include "net/base/ip_endpoint.h" |
| 22 #include "net/base/net_util.h" | 22 #include "net/base/net_util.h" |
| 23 #include "net/dns/dns_hosts.h" | 23 #include "net/dns/dns_hosts.h" |
| 24 #include "net/dns/dns_protocol.h" | 24 #include "net/dns/dns_protocol.h" |
| 25 #include "net/dns/notify_watcher_mac.h" | 25 #include "net/dns/notify_watcher_mac.h" |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 #endif // defined(OS_ANDROID) | 584 #endif // defined(OS_ANDROID) |
| 585 | 585 |
| 586 } // namespace internal | 586 } // namespace internal |
| 587 | 587 |
| 588 // static | 588 // static |
| 589 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { | 589 scoped_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { |
| 590 return scoped_ptr<DnsConfigService>(new internal::DnsConfigServicePosix()); | 590 return scoped_ptr<DnsConfigService>(new internal::DnsConfigServicePosix()); |
| 591 } | 591 } |
| 592 | 592 |
| 593 } // namespace net | 593 } // namespace net |
| OLD | NEW |