blob: 0b39c1728f90276d36b83e13f98a6e11cba7015c [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 {
struct NetworkInterface;
typedef std::vector<NetworkInterface> NetworkInterfaceList;
} // namespace net
namespace content {
class NetworkListObserver {
public:
virtual ~NetworkListObserver() {}
virtual void OnNetworkListChanged(
const net::NetworkInterfaceList& list) = 0;
protected:
NetworkListObserver() {}
};
} // namespace content
#endif // CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_