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

Side by Side Diff: net/socket/datagram_socket.h

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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/socket/datagram_server_socket.h ('k') | net/socket/diff_serv_code_point.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_UDP_DATAGRAM_SOCKET_H_ 5 #ifndef NET_SOCKET_DATAGRAM_SOCKET_H_
6 #define NET_UDP_DATAGRAM_SOCKET_H_ 6 #define NET_SOCKET_DATAGRAM_SOCKET_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class IPEndPoint; 12 class IPEndPoint;
13 class NetLogWithSource; 13 class NetLogWithSource;
14 14
15 // A datagram socket is an interface to a protocol which exchanges 15 // A datagram socket is an interface to a protocol which exchanges
16 // datagrams, like UDP. 16 // datagrams, like UDP.
(...skipping 27 matching lines...) Expand all
44 // code if there was a problem, but the socket will still be usable. Can not 44 // code if there was a problem, but the socket will still be usable. Can not
45 // return ERR_IO_PENDING. 45 // return ERR_IO_PENDING.
46 virtual int SetDoNotFragment() = 0; 46 virtual int SetDoNotFragment() = 0;
47 47
48 // Gets the NetLog for this socket. 48 // Gets the NetLog for this socket.
49 virtual const NetLogWithSource& NetLog() const = 0; 49 virtual const NetLogWithSource& NetLog() const = 0;
50 }; 50 };
51 51
52 } // namespace net 52 } // namespace net
53 53
54 #endif // NET_UDP_DATAGRAM_SOCKET_H_ 54 #endif // NET_SOCKET_DATAGRAM_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/datagram_server_socket.h ('k') | net/socket/diff_serv_code_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698