Sergey Ulanov | 4593ec9 | 2019-04-09 02:06:44 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "net/dns/dns_config_service_fuchsia.h" |
| 6 | |
| 7 | #include <memory> |
| 8 | |
| 9 | #include "net/dns/dns_config.h" |
| 10 | #include "net/dns/dns_hosts.h" |
| 11 | |
| 12 | namespace net { |
| 13 | namespace internal { |
| 14 | |
| 15 | DnsConfigServiceFuchsia::DnsConfigServiceFuchsia() = default; |
| 16 | DnsConfigServiceFuchsia::~DnsConfigServiceFuchsia() = default; |
| 17 | |
| 18 | void DnsConfigServiceFuchsia::ReadNow() { |
| 19 | // TODO(crbug.com/950717): Implement this method. |
Sergey Ulanov | 4593ec9 | 2019-04-09 02:06:44 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | bool DnsConfigServiceFuchsia::StartWatching() { |
| 23 | // TODO(crbug.com/950717): Implement this method. |
| 24 | return false; |
| 25 | } |
| 26 | |
| 27 | } // namespace internal |
| 28 | |
| 29 | // static |
| 30 | std::unique_ptr<DnsConfigService> DnsConfigService::CreateSystemService() { |
| 31 | return std::make_unique<internal::DnsConfigServiceFuchsia>(); |
| 32 | } |
| 33 | |
Bence Béky | b7bf2ad | 2019-04-22 14:16:01 | [diff] [blame] | 34 | } // namespace net |