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

Side by Side Diff: net/base/winsock_init.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Winsock initialization must happen before any Winsock calls are made. The 5 // Winsock initialization must happen before any Winsock calls are made. The
6 // EnsureWinsockInit method will make sure that WSAStartup has been called. 6 // EnsureWinsockInit method will make sure that WSAStartup has been called.
7 7
8 #ifndef NET_BASE_WINSOCK_INIT_H_ 8 #ifndef NET_BASE_WINSOCK_INIT_H_
9 #define NET_BASE_WINSOCK_INIT_H_ 9 #define NET_BASE_WINSOCK_INIT_H_
10 #pragma once 10 #pragma once
11 11
12 #include "net/base/net_api.h" 12 #include "net/base/net_export.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 // Make sure that Winsock is initialized, calling WSAStartup if needed. 16 // Make sure that Winsock is initialized, calling WSAStartup if needed.
17 NET_API void EnsureWinsockInit(); 17 NET_EXPORT void EnsureWinsockInit();
18 18
19 } // namespace net 19 } // namespace net
20 20
21 #endif // NET_BASE_WINSOCK_INIT_H_ 21 #endif // NET_BASE_WINSOCK_INIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698