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 #include "remoting/client/plugin/pepper_network_manager.h" | 5 #include "remoting/client/plugin/pepper_network_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "ppapi/cpp/module.h" | 13 #include "ppapi/cpp/module.h" |
14 #include "ppapi/cpp/net_address.h" | 14 #include "ppapi/cpp/net_address.h" |
15 #include "ppapi/cpp/network_list.h" | 15 #include "ppapi/cpp/network_list.h" |
16 #include "remoting/client/plugin/pepper_util.h" | 16 #include "remoting/client/plugin/pepper_util.h" |
17 #include "third_party/webrtc/base/socketaddress.h" | 17 #include "third_party/webrtc/base/socketaddress.h" |
18 | 18 |
19 namespace remoting { | 19 namespace remoting { |
20 | 20 |
21 PepperNetworkManager::PepperNetworkManager(const pp::InstanceHandle& instance) | 21 PepperNetworkManager::PepperNetworkManager(const pp::InstanceHandle& instance) |
22 : monitor_(instance), | 22 : monitor_(instance), |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 MergeNetworkList(networks, &changed); | 97 MergeNetworkList(networks, &changed); |
98 if (changed) | 98 if (changed) |
99 SignalNetworksChanged(); | 99 SignalNetworksChanged(); |
100 } | 100 } |
101 | 101 |
102 void PepperNetworkManager::SendNetworksChangedSignal() { | 102 void PepperNetworkManager::SendNetworksChangedSignal() { |
103 SignalNetworksChanged(); | 103 SignalNetworksChanged(); |
104 } | 104 } |
105 | 105 |
106 } // namespace remoting | 106 } // namespace remoting |
OLD | NEW |