| Index: chrome/browser/extensions/api/mdns/dns_sd_delegate.h
|
| diff --git a/chrome/browser/extensions/api/mdns/dns_sd_delegate.h b/chrome/browser/extensions/api/mdns/dns_sd_delegate.h
|
| deleted file mode 100644
|
| index 7a06066805edf98f1e8e9367bac6dc73768d57a1..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/extensions/api/mdns/dns_sd_delegate.h
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -// Copyright 2013 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 CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DELEGATE_H_
|
| -#define CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DELEGATE_H_
|
| -
|
| -#include <string>
|
| -#include <vector>
|
| -
|
| -namespace extensions {
|
| -
|
| -struct DnsSdService {
|
| - std::string service_name;
|
| - std::string service_host_port;
|
| - std::string ip_address;
|
| - std::vector<std::string> service_data;
|
| -
|
| - DnsSdService();
|
| - DnsSdService(const DnsSdService& other);
|
| - virtual ~DnsSdService();
|
| -
|
| - bool operator==(const DnsSdService& other) const {
|
| - return service_name == other.service_name &&
|
| - service_host_port == other.service_host_port &&
|
| - ip_address == other.ip_address &&
|
| - service_data == other.service_data;
|
| - }
|
| -
|
| - bool operator!=(const DnsSdService& other) const {
|
| - return !(*this == other);
|
| - }
|
| -};
|
| -
|
| -// Delegate that is notified when a watched service is added, updated or
|
| -// removed.
|
| -class DnsSdDelegate {
|
| - public:
|
| - virtual void ServiceChanged(const std::string& service_type,
|
| - bool added,
|
| - const DnsSdService& service) = 0;
|
| - virtual void ServiceRemoved(const std::string& service_type,
|
| - const std::string& service_name) = 0;
|
| - virtual void ServicesFlushed(const std::string& service_type) = 0;
|
| -};
|
| -
|
| -} // namespace extensions
|
| -
|
| -#endif // CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_DELEGATE_H_
|
|
|