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

Unified Diff: net/base/host_resolver_proc.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 side-by-side diff with in-line comments
Download patch
Index: net/base/host_resolver_proc.h
===================================================================
--- net/base/host_resolver_proc.h (revision 95949)
+++ net/base/host_resolver_proc.h (working copy)
@@ -10,7 +10,7 @@
#include "base/memory/ref_counted.h"
#include "net/base/address_family.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
namespace net {
@@ -23,7 +23,7 @@
//
// Note that implementations of HostResolverProc *MUST BE THREADSAFE*, since
// the HostResolver implementation using them can be multi-threaded.
-class NET_API HostResolverProc
+class NET_EXPORT HostResolverProc
: public base::RefCountedThreadSafe<HostResolverProc> {
public:
explicit HostResolverProc(HostResolverProc* previous);
@@ -85,11 +85,12 @@
// |addrlist| with a list of socket addresses. Otherwise returns a
// network error code, and fills |os_error| with a more specific errir if it
// was non-NULL.
-NET_TEST int SystemHostResolverProc(const std::string& host,
- AddressFamily address_family,
- HostResolverFlags host_resolver_flags,
- AddressList* addrlist,
- int* os_error);
+NET_EXPORT_PRIVATE int SystemHostResolverProc(
+ const std::string& host,
+ AddressFamily address_family,
+ HostResolverFlags host_resolver_flags,
+ AddressList* addrlist,
+ int* os_error);
} // namespace net
« no previous file with comments | « net/base/host_resolver_impl.h ('k') | net/base/io_buffer.h » ('j') | net/base/net_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698