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

Side by Side Diff: net/tools/quic/quic_socket_utils.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.h ('k') | net/tools/quic/quic_socket_utils.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 // Some socket related helper methods for quic. 5 // Some socket related helper methods for quic.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_
8 #define NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_ 8 #define NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <sys/socket.h> 11 #include <sys/socket.h>
12
12 #include <string> 13 #include <string>
13 14
14 #include "base/basictypes.h" 15 #include "base/macros.h"
15 #include "net/base/ip_endpoint.h" 16 #include "net/base/ip_endpoint.h"
16 #include "net/quic/quic_bandwidth.h" 17 #include "net/quic/quic_bandwidth.h"
17 #include "net/quic/quic_types.h" 18 #include "net/quic/quic_types.h"
18 19
19 namespace net { 20 namespace net {
20 namespace tools { 21 namespace tools {
21 22
22 class QuicSocketUtils { 23 class QuicSocketUtils {
23 public: 24 public:
24 // If the msghdr contains IP_PKTINFO or IPV6_PKTINFO, this will return the 25 // If the msghdr contains IP_PKTINFO or IPV6_PKTINFO, this will return the
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 cmsghdr* cmsg); 75 cmsghdr* cmsg);
75 76
76 private: 77 private:
77 DISALLOW_COPY_AND_ASSIGN(QuicSocketUtils); 78 DISALLOW_COPY_AND_ASSIGN(QuicSocketUtils);
78 }; 79 };
79 80
80 } // namespace tools 81 } // namespace tools
81 } // namespace net 82 } // namespace net
82 83
83 #endif // NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_ 84 #endif // NET_TOOLS_QUIC_QUIC_SOCKET_UTILS_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.h ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698