OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 "chrome/browser/extensions/api/mdns/nsd_registry.h" |
| 6 |
| 7 namespace extensions { |
| 8 |
| 9 NsdRegistry::NsdRegistry() {} |
| 10 NsdRegistry::~NsdRegistry() {} |
| 11 |
| 12 void NsdRegistry::AddObserver(NsdObserver* observer) { |
| 13 observers_.AddObserver(observer); |
| 14 } |
| 15 |
| 16 void NsdRegistry::RemoveObserver(NsdObserver* observer) { |
| 17 observers_.RemoveObserver(observer); |
| 18 } |
| 19 |
| 20 void NsdRegistry::RegisterMDnsListener(std::string service_name) { |
| 21 // TODO(mfoltz): Start MDNS service. |
| 22 } |
| 23 |
| 24 void NsdRegistry::UnregisterMDnsListener(std::string service_name) { |
| 25 // TODO(mfoltz): Stop MDNS service. |
| 26 } |
| 27 |
| 28 } // namespace extensions |
OLD | NEW |