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

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

Issue 1769783002: Migrate net::IPAddressList to net::IPAddress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments eroman 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') | net/base/address_list_unittest.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 // P2PSocketDispatcher is a per-renderer object that dispatchers all 5 // P2PSocketDispatcher is a per-renderer object that dispatchers all
6 // P2P messages received from the browser and relays all P2P messages 6 // P2P messages received from the browser and relays all P2P messages
7 // sent to the browser. P2PSocketClient instances register themselves 7 // sent to the browser. P2PSocketClient instances register themselves
8 // with the dispatcher using RegisterClient() and UnregisterClient(). 8 // with the dispatcher using RegisterClient() and UnregisterClient().
9 // 9 //
10 // Relationship of classes. 10 // Relationship of classes.
(...skipping 17 matching lines...) Expand all
28 #include "base/callback_forward.h" 28 #include "base/callback_forward.h"
29 #include "base/compiler_specific.h" 29 #include "base/compiler_specific.h"
30 #include "base/id_map.h" 30 #include "base/id_map.h"
31 #include "base/macros.h" 31 #include "base/macros.h"
32 #include "base/observer_list_threadsafe.h" 32 #include "base/observer_list_threadsafe.h"
33 #include "base/synchronization/lock.h" 33 #include "base/synchronization/lock.h"
34 #include "content/common/content_export.h" 34 #include "content/common/content_export.h"
35 #include "content/common/p2p_socket_type.h" 35 #include "content/common/p2p_socket_type.h"
36 #include "content/renderer/p2p/network_list_manager.h" 36 #include "content/renderer/p2p/network_list_manager.h"
37 #include "ipc/message_filter.h" 37 #include "ipc/message_filter.h"
38 #include "net/base/ip_address.h"
Sergey Ulanov 2016/03/09 18:04:56 nit: Do you need this include here? IPAddress is n
martijnc 2016/03/09 18:39:15 I added this include for IPAddressList, the defini
38 #include "net/base/ip_address_number.h" 39 #include "net/base/ip_address_number.h"
39 #include "net/base/ip_endpoint.h" 40 #include "net/base/ip_endpoint.h"
40 #include "net/base/network_interfaces.h" 41 #include "net/base/network_interfaces.h"
41 42
42 namespace base { 43 namespace base {
43 class SingleThreadTaskRunner; 44 class SingleThreadTaskRunner;
44 } // namespace base 45 } // namespace base
45 46
46 namespace net { 47 namespace net {
47 class IPEndPoint; 48 class IPEndPoint;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 128
128 // To indicate whether IPC could be invoked on this dispatcher. 129 // To indicate whether IPC could be invoked on this dispatcher.
129 bool connected_ = false; 130 bool connected_ = false;
130 131
131 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcher); 132 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcher);
132 }; 133 };
133 134
134 } // namespace content 135 } // namespace content
135 136
136 #endif // CONTENT_RENDERER_P2P_SOCKET_DISPATCHER_H_ 137 #endif // CONTENT_RENDERER_P2P_SOCKET_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.cc ('k') | net/base/address_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698