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 | 5 |
6 #ifdef _WIN32 | 6 #ifdef _WIN32 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #ifndef AF_IPX | 8 #ifndef AF_IPX |
9 #include <winsock2.h> | 9 #include <winsock2.h> |
10 #endif | 10 #endif |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 284 |
285 return NULL; | 285 return NULL; |
286 } | 286 } |
287 | 287 |
288 void ITransport::Free(ITransport* itrans) { | 288 void ITransport::Free(ITransport* itrans) { |
289 Transport* trans = static_cast<Transport*>(itrans); | 289 Transport* trans = static_cast<Transport*>(itrans); |
290 delete trans; | 290 delete trans; |
291 } | 291 } |
292 | 292 |
293 } // namespace port | 293 } // namespace port |
294 | |
OLD | NEW |