diff options
author | Colin Cross <ccross@android.com> | 2021-08-26 21:29:35 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-26 21:29:35 +0000 |
commit | 8c1d6562996fd78350510c66e282dcb50caa1655 (patch) | |
tree | 08f815bfcdaed1c2137de2d6966e42a8870dedb0 /osp/impl/mdns_platform_service.h | |
parent | 8beec73fbbcaaab6785c3f9cc5a9661afcbc7fa7 (diff) | |
parent | 6b563cff6fca9ffdd14a12d33795fef8e2562a26 (diff) | |
download | openscreen-8c1d6562996fd78350510c66e282dcb50caa1655.tar.gz |
Upgrade openscreen to f54d92523c9f2c8c5afb99e05fed70e4b8772b1c am: 6b563cff6fandroid-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1
Original change: https://android-review.googlesource.com/c/platform/external/openscreen/+/1810936
Change-Id: I4af446c4bf4a92bc6fe1c6da2ac036a530aee809
Diffstat (limited to 'osp/impl/mdns_platform_service.h')
-rw-r--r-- | osp/impl/mdns_platform_service.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/osp/impl/mdns_platform_service.h b/osp/impl/mdns_platform_service.h deleted file mode 100644 index aca4ffd7..00000000 --- a/osp/impl/mdns_platform_service.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef OSP_IMPL_MDNS_PLATFORM_SERVICE_H_ -#define OSP_IMPL_MDNS_PLATFORM_SERVICE_H_ - -#include <vector> - -#include "platform/api/network_interface.h" -#include "platform/api/udp_socket.h" - -namespace openscreen { -namespace osp { - -class MdnsPlatformService { - public: - struct BoundInterface { - BoundInterface(const InterfaceInfo& interface_info, - const IPSubnet& subnet, - UdpSocket* socket); - ~BoundInterface(); - - bool operator==(const BoundInterface& other) const; - bool operator!=(const BoundInterface& other) const; - - InterfaceInfo interface_info; - IPSubnet subnet; - UdpSocket* socket; - }; - - virtual ~MdnsPlatformService() = default; - - virtual std::vector<BoundInterface> RegisterInterfaces( - const std::vector<NetworkInterfaceIndex>& allowlist) = 0; - virtual void DeregisterInterfaces( - const std::vector<BoundInterface>& registered_interfaces) = 0; -}; - -} // namespace osp -} // namespace openscreen - -#endif // OSP_IMPL_MDNS_PLATFORM_SERVICE_H_ |