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