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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… 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
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_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 5 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/log/net_log.h" 16 #include "net/log/net_log_with_source.h"
17 #include "net/socket/socket_descriptor.h" 17 #include "net/socket/socket_descriptor.h"
18 #include "net/socket/stream_socket.h" 18 #include "net/socket/stream_socket.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class SocketPosix; 22 class SocketPosix;
23 struct SockaddrStorage; 23 struct SockaddrStorage;
24 24
25 // A client socket that uses unix domain socket as the transport layer. 25 // A client socket that uses unix domain socket as the transport layer.
26 class NET_EXPORT UnixDomainClientSocket : public StreamSocket { 26 class NET_EXPORT UnixDomainClientSocket : public StreamSocket {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // This net log is just to comply StreamSocket::NetLog(). It throws away 82 // This net log is just to comply StreamSocket::NetLog(). It throws away
83 // everything. 83 // everything.
84 NetLogWithSource net_log_; 84 NetLogWithSource net_log_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); 86 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket);
87 }; 87 };
88 88
89 } // namespace net 89 } // namespace net
90 90
91 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ 91 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698