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

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

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « net/socket/next_proto.h ('k') | net/socket/socks5_client_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SOCKET_SOCKET_POSIX_H_ 5 #ifndef NET_SOCKET_SOCKET_POSIX_H_
6 #define NET_SOCKET_SOCKET_POSIX_H_ 6 #define NET_SOCKET_SOCKET_POSIX_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "net/base/completion_callback.h" 15 #include "net/base/completion_callback.h"
16 #include "net/base/net_export.h"
16 #include "net/socket/socket_descriptor.h" 17 #include "net/socket/socket_descriptor.h"
17 18
18 namespace net { 19 namespace net {
19 20
20 class IOBuffer; 21 class IOBuffer;
21 class IPEndPoint; 22 class IPEndPoint;
22 struct SockaddrStorage; 23 struct SockaddrStorage;
23 24
24 // Socket class to provide asynchronous read/write operations on top of the 25 // Socket class to provide asynchronous read/write operations on top of the
25 // posix socket api. It supports AF_INET, AF_INET6, and AF_UNIX addresses. 26 // posix socket api. It supports AF_INET, AF_INET6, and AF_UNIX addresses.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 std::unique_ptr<SockaddrStorage> peer_address_; 128 std::unique_ptr<SockaddrStorage> peer_address_;
128 129
129 base::ThreadChecker thread_checker_; 130 base::ThreadChecker thread_checker_;
130 131
131 DISALLOW_COPY_AND_ASSIGN(SocketPosix); 132 DISALLOW_COPY_AND_ASSIGN(SocketPosix);
132 }; 133 };
133 134
134 } // namespace net 135 } // namespace net
135 136
136 #endif // NET_SOCKET_SOCKET_POSIX_H_ 137 #endif // NET_SOCKET_SOCKET_POSIX_H_
OLDNEW
« no previous file with comments | « net/socket/next_proto.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698