| 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 #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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
| 11 #include "net/base/net_export.h" |
| 11 #include "net/udp/datagram_socket.h" | 12 #include "net/udp/datagram_socket.h" |
| 12 #include "net/udp/diff_serv_code_point.h" | 13 #include "net/udp/diff_serv_code_point.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 | 16 |
| 16 class IPAddress; | 17 class IPAddress; |
| 17 class IPEndPoint; | 18 class IPEndPoint; |
| 18 class IOBuffer; | 19 class IOBuffer; |
| 19 | 20 |
| 20 // A UDP Socket. | 21 // A UDP Socket. |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // some platforms. Returns a network error code. | 106 // some platforms. Returns a network error code. |
| 106 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) = 0; | 107 virtual int SetDiffServCodePoint(DiffServCodePoint dscp) = 0; |
| 107 | 108 |
| 108 // Resets the thread to be used for thread-safety checks. | 109 // Resets the thread to be used for thread-safety checks. |
| 109 virtual void DetachFromThread() = 0; | 110 virtual void DetachFromThread() = 0; |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 } // namespace net | 113 } // namespace net |
| 113 | 114 |
| 114 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_ | 115 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_ |
| OLD | NEW |