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

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

Issue 13812005: net: move socket files from net/base to net/socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 8 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/socket/transport_client_socket_unittest.cc ('k') | net/socket/unix_domain_socket_posix.cc » ('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_BASE_UNIX_DOMAIN_SOCKET_POSIX_H_ 5 #ifndef NET_SOCKET_UNIX_DOMAIN_SOCKET_POSIX_H_
6 #define NET_BASE_UNIX_DOMAIN_SOCKET_POSIX_H_ 6 #define NET_SOCKET_UNIX_DOMAIN_SOCKET_POSIX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 #include "net/base/stream_listen_socket.h" 16 #include "net/socket/stream_listen_socket.h"
17 17
18 #if defined(OS_ANDROID) || defined(OS_LINUX) 18 #if defined(OS_ANDROID) || defined(OS_LINUX)
19 // Feature only supported on Linux currently. This lets the Unix Domain Socket 19 // Feature only supported on Linux currently. This lets the Unix Domain Socket
20 // not be backed by the file system. 20 // not be backed by the file system.
21 #define SOCKET_ABSTRACT_NAMESPACE_SUPPORTED 21 #define SOCKET_ABSTRACT_NAMESPACE_SUPPORTED
22 #endif 22 #endif
23 23
24 namespace net { 24 namespace net {
25 25
26 // Unix Domain Socket Implementation. Supports abstract namespaces on Linux. 26 // Unix Domain Socket Implementation. Supports abstract namespaces on Linux.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual scoped_refptr<StreamListenSocket> CreateAndListen( 110 virtual scoped_refptr<StreamListenSocket> CreateAndListen(
111 StreamListenSocket::Delegate* delegate) const OVERRIDE; 111 StreamListenSocket::Delegate* delegate) const OVERRIDE;
112 112
113 private: 113 private:
114 DISALLOW_COPY_AND_ASSIGN(UnixDomainSocketWithAbstractNamespaceFactory); 114 DISALLOW_COPY_AND_ASSIGN(UnixDomainSocketWithAbstractNamespaceFactory);
115 }; 115 };
116 #endif 116 #endif
117 117
118 } // namespace net 118 } // namespace net
119 119
120 #endif // NET_BASE_UNIX_DOMAIN_SOCKET_POSIX_H_ 120 #endif // NET_SOCKET_UNIX_DOMAIN_SOCKET_POSIX_H_
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_unittest.cc ('k') | net/socket/unix_domain_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698