Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Side by Side Diff: webkit/glue/network_list_observer.h

Issue 9557006: Implement PPB_NetworkMonitor_Private Pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
dmichael (off chromium) 2012/03/01 18:58:04 nit: 2012
Sergey Ulanov 2012/03/03 02:26:08 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_
6 #define WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_
7
8 #include <vector>
9
10 namespace net {
11 struct NetworkInterface;
12 typedef std::vector<NetworkInterface> NetworkInterfaceList;
13 } // namespace net
14
15 namespace webkit_glue {
16
17 class NetworkListObserver {
18 public:
19 virtual ~NetworkListObserver() {}
20
21 virtual void OnNetworkListChanged(
22 const net::NetworkInterfaceList& list) = 0;
23
24 protected:
25 NetworkListObserver() {}
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(NetworkListObserver);
29 };
30
31 } // namespace webkit_glue
32
33 #endif // WEBKIT_GLUE_NETWORK_LIST_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698