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

Unified Diff: net/dns/dns_transaction.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/dns/dns_transaction.h
===================================================================
--- net/dns/dns_transaction.h (revision 95949)
+++ net/dns/dns_transaction.h (working copy)
@@ -17,7 +17,7 @@
#include "base/threading/non_thread_safe.h"
#include "net/base/completion_callback.h"
#include "net/base/ip_endpoint.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
#include "net/base/net_log.h"
#include "net/base/rand_callback.h"
@@ -31,14 +31,15 @@
// Performs (with fixed retries) a single asynchronous DNS transaction,
// which consists of sending out a DNS query, waiting for response, and
// parsing and returning the IP addresses that it matches.
-class NET_TEST DnsTransaction : NON_EXPORTED_BASE(public base::NonThreadSafe) {
+class NET_EXPORT_PRIVATE DnsTransaction :
+ NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
typedef std::pair<std::string, uint16> Key;
// Interface that should implemented by DnsTransaction consumer and
// passed to |Start| method to be notified when the transaction has
// completed.
- class NET_TEST Delegate {
+ class NET_EXPORT_PRIVATE Delegate {
public:
Delegate();
virtual ~Delegate();

Powered by Google App Engine
This is Rietveld 408576698