Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: native_client_sdk/src/build_tools/debug_server/debug_stub/transport_common.cc

Issue 9716020: Add base::HostToNetXX() & NetToHostXX(), and use them to replace htonX() & ntohX() in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/notifier/base/chrome_async_socket_unittest.cc ('k') | net/base/host_resolver_proc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « jingle/notifier/base/chrome_async_socket_unittest.cc ('k') | net/base/host_resolver_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698