Index: content/renderer/p2p/ipc_network_manager.h |
diff --git a/content/renderer/p2p/ipc_network_manager.h b/content/renderer/p2p/ipc_network_manager.h |
index 4ed3c48a03fbebecb622bf233bc6512d2ec35554..58f29cdc4fdbb332a7b3983b1a015be780727bcd 100644 |
--- a/content/renderer/p2p/ipc_network_manager.h |
+++ b/content/renderer/p2p/ipc_network_manager.h |
@@ -10,8 +10,8 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/weak_ptr.h" |
#include "content/common/content_export.h" |
+#include "content/renderer/p2p/network_list_manager.h" |
#include "content/renderer/p2p/network_list_observer.h" |
-#include "content/renderer/p2p/socket_dispatcher.h" |
#include "third_party/webrtc/base/network.h" |
namespace content { |
@@ -21,8 +21,8 @@ namespace content { |
class IpcNetworkManager : public rtc::NetworkManagerBase, |
public NetworkListObserver { |
public: |
- // Constructor doesn't take ownership of the |socket_dispatcher|. |
- CONTENT_EXPORT IpcNetworkManager(P2PSocketDispatcher* socket_dispatcher); |
+ // Constructor doesn't take ownership of the |network_list_manager|. |
+ CONTENT_EXPORT IpcNetworkManager(NetworkListManager* network_list_manager); |
virtual ~IpcNetworkManager(); |
virtual void StartUpdating() OVERRIDE; |
@@ -35,7 +35,7 @@ class IpcNetworkManager : public rtc::NetworkManagerBase, |
private: |
void SendNetworksChangedSignal(); |
- P2PSocketDispatcher* socket_dispatcher_; |
+ NetworkListManager* network_list_manager_; |
int start_count_; |
bool network_list_received_; |