Display new Autofill UI Contents in Views
[chromium-blink-merge.git] / webkit / glue / network_list_observer.h
blob288bfa7518d3eb58b6549ec5010cb27b470a6807
1 // Copyright (c) 2012 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.
5 #ifndef WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_
6 #define WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_
8 #include <vector>
10 namespace net {
11 struct NetworkInterface;
12 typedef std::vector<NetworkInterface> NetworkInterfaceList;
13 } // namespace net
15 namespace webkit_glue {
17 class NetworkListObserver {
18 public:
19 virtual ~NetworkListObserver() {}
21 virtual void OnNetworkListChanged(
22 const net::NetworkInterfaceList& list) = 0;
24 protected:
25 NetworkListObserver() {}
27 private:
28 DISALLOW_COPY_AND_ASSIGN(NetworkListObserver);
31 } // namespace webkit_glue
33 #endif // WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_