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_util.h" | 5 #include "remoting/client/plugin/pepper_util.h" |
6 | 6 |
| 7 #include "base/bit_cast.h" |
7 #include "base/callback.h" | 8 #include "base/callback.h" |
8 #include "base/logging.h" | 9 #include "base/logging.h" |
9 #include "base/sys_byteorder.h" | 10 #include "base/sys_byteorder.h" |
10 #include "ppapi/cpp/module.h" | 11 #include "ppapi/cpp/module.h" |
11 #include "ppapi/cpp/net_address.h" | 12 #include "ppapi/cpp/net_address.h" |
12 #include "third_party/webrtc/base/socketaddress.h" | 13 #include "third_party/webrtc/base/socketaddress.h" |
13 | 14 |
14 namespace remoting { | 15 namespace remoting { |
15 | 16 |
16 bool SocketAddressToPpNetAddressWithPort( | 17 bool SocketAddressToPpNetAddressWithPort( |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 case PP_NETADDRESS_FAMILY_UNSPECIFIED: { | 74 case PP_NETADDRESS_FAMILY_UNSPECIFIED: { |
74 break; | 75 break; |
75 } | 76 } |
76 }; | 77 }; |
77 | 78 |
78 NOTREACHED(); | 79 NOTREACHED(); |
79 address->Clear(); | 80 address->Clear(); |
80 } | 81 } |
81 | 82 |
82 } // namespace remoting | 83 } // namespace remoting |
OLD | NEW |