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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DESCRIPTOR_H_ 5 #ifndef NET_SOCKET_SOCKET_DESCRIPTOR_H_
6 #define NET_SOCKET_SOCKET_DESCRIPTOR_H_ 6 #define NET_SOCKET_SOCKET_DESCRIPTOR_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 // Replace WSASocket/socket with given factory. The factory will be used by 34 // Replace WSASocket/socket with given factory. The factory will be used by
35 // CreatePlatformSocket. 35 // CreatePlatformSocket.
36 static void SetInstance(PlatformSocketFactory* factory); 36 static void SetInstance(PlatformSocketFactory* factory);
37 37
38 // Creates socket. See WSASocket/socket documentation of parameters. 38 // Creates socket. See WSASocket/socket documentation of parameters.
39 virtual SocketDescriptor CreateSocket(int family, int type, int protocol) = 0; 39 virtual SocketDescriptor CreateSocket(int family, int type, int protocol) = 0;
40 }; 40 };
41 41
42 // Creates socket. See WSASocket/socket documentation of parameters. 42 // Creates socket. See WSASocket/socket documentation of parameters.
43 SocketDescriptor NET_EXPORT CreatePlatformSocket(int family, 43 SocketDescriptor NET_EXPORT
44 int type, 44 CreatePlatformSocket(int family, int type, int protocol);
45 int protocol);
46 45
47 } // namespace net 46 } // namespace net
48 47
49 #endif // NET_SOCKET_SOCKET_DESCRIPTOR_H_ 48 #endif // NET_SOCKET_SOCKET_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698