blob: 309f0ce0f0baf6aef1f8ce8d36b343b370ed9ddb [file] [log] [blame]
// 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 CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_
#define CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_
#include <vector>
namespace net {
class IPAddress;
struct NetworkInterface;
typedef std::vector<NetworkInterface> NetworkInterfaceList;
} // namespace net
namespace content {
class NetworkListObserver {
public:
virtual ~NetworkListObserver() {}
virtual void OnNetworkListChanged(
const net::NetworkInterfaceList& list,
const net::IPAddress& default_ipv4_local_address,
const net::IPAddress& default_ipv6_local_address) = 0;
protected:
NetworkListObserver() {}
};
} // namespace content
#endif // CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_