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

Side by Side Diff: net/udp/datagram_server_socket.h

Issue 185293014: Bind before sandbox lockdown on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « net/dns/mock_mdns_socket_factory.h ('k') | net/udp/udp_server_socket.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) 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 #ifndef NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 5 #ifndef NET_UDP_DATAGRAM_SERVER_SOCKET_H_
6 #define NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 6 #define NET_UDP_DATAGRAM_SERVER_SOCKET_H_
7 7
8 #include "net/base/completion_callback.h" 8 #include "net/base/completion_callback.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 #include "net/udp/datagram_socket.h" 10 #include "net/udp/datagram_socket.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Set the loopback flag for UDP socket. If this flag is true, the host 96 // Set the loopback flag for UDP socket. If this flag is true, the host
97 // will receive packets sent to the joined group from itself. 97 // will receive packets sent to the joined group from itself.
98 // The default value of this option is true. 98 // The default value of this option is true.
99 // Should be called before Bind(). 99 // Should be called before Bind().
100 // Returns a network error code. 100 // Returns a network error code.
101 virtual int SetMulticastLoopbackMode(bool loopback) = 0; 101 virtual int SetMulticastLoopbackMode(bool loopback) = 0;
102 102
103 // Set the Differentiated Services Code Point. May do nothing on 103 // Set the Differentiated Services Code Point. May do nothing on
104 // some platforms. Returns a network error code. 104 // some platforms. Returns a network error code.
105 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) = 0; 105 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) = 0;
106
107 // Detach from thread used to check for thread-safety.
rvargas (doing something else) 2014/03/05 02:54:26 nit: How about "Resets the thread to be used for t
Vitaly Buka (NO REVIEWS) 2014/03/05 19:07:11 Done.
108 virtual void DetachFromThread() = 0;
106 }; 109 };
107 110
108 } // namespace net 111 } // namespace net
109 112
110 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 113 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/dns/mock_mdns_socket_factory.h ('k') | net/udp/udp_server_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698