| OLD | NEW |
| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "content/common/p2p_sockets.h" | 10 #include "content/common/p2p_sockets.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 void OnAddressResolved(DnsRequest* request, | 75 void OnAddressResolved(DnsRequest* request, |
| 76 const net::IPAddressNumber& result); | 76 const net::IPAddressNumber& result); |
| 77 | 77 |
| 78 content::ResourceContext* resource_context_; | 78 content::ResourceContext* resource_context_; |
| 79 | 79 |
| 80 SocketsMap sockets_; | 80 SocketsMap sockets_; |
| 81 | 81 |
| 82 bool monitoring_networks_; | 82 bool monitoring_networks_; |
| 83 | 83 |
| 84 // List or routing IDs for the hosts that have subscribed to the | |
| 85 // network list notifications. | |
| 86 std::set<int> notifications_routing_ids_; | |
| 87 | |
| 88 std::set<DnsRequest*> dns_requests_; | 84 std::set<DnsRequest*> dns_requests_; |
| 89 | 85 |
| 90 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost); | 86 DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost); |
| 91 }; | 87 }; |
| 92 | 88 |
| 93 } // namespace content | 89 } // namespace content |
| 94 | 90 |
| 95 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ | 91 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_DISPATCHER_HOST_H_ |
| OLD | NEW |