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

Side by Side Diff: content/renderer/p2p/network_list_observer.h

Issue 1833523002: Migrate content/*/p2p/* code to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments sergeyu Created 4 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
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | content/renderer/p2p/socket_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_ 5 #ifndef CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_
6 #define CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_ 6 #define CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "net/base/ip_address_number.h"
11
12 namespace net { 10 namespace net {
11 class IPAddress;
13 struct NetworkInterface; 12 struct NetworkInterface;
14 typedef std::vector<NetworkInterface> NetworkInterfaceList; 13 typedef std::vector<NetworkInterface> NetworkInterfaceList;
15 } // namespace net 14 } // namespace net
16 15
17 namespace content { 16 namespace content {
18 17
19 class NetworkListObserver { 18 class NetworkListObserver {
20 public: 19 public:
21 virtual ~NetworkListObserver() {} 20 virtual ~NetworkListObserver() {}
22 21
23 virtual void OnNetworkListChanged( 22 virtual void OnNetworkListChanged(
24 const net::NetworkInterfaceList& list, 23 const net::NetworkInterfaceList& list,
25 const net::IPAddressNumber& default_ipv4_local_address, 24 const net::IPAddress& default_ipv4_local_address,
26 const net::IPAddressNumber& default_ipv6_local_address) = 0; 25 const net::IPAddress& default_ipv6_local_address) = 0;
27 26
28 protected: 27 protected:
29 NetworkListObserver() {} 28 NetworkListObserver() {}
30 }; 29 };
31 30
32 } // namespace content 31 } // namespace content
33 32
34 #endif // CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_ 33 #endif // CONTENT_RENDERER_P2P_NETWORK_LIST_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | content/renderer/p2p/socket_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698