summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 18:41:03 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 18:41:03 +0000
commitde72f4aff2fe36ae784630554df27636bc3f7c3f (patch)
tree9239959f68994392cf492436c527ab3fe0b6da0d /net
parentc878133c3eda3e43830c108c8c8ea4aa81bc2a0f (diff)
downloadchromium_src-de72f4aff2fe36ae784630554df27636bc3f7c3f.zip
chromium_src-de72f4aff2fe36ae784630554df27636bc3f7c3f.tar.gz
chromium_src-de72f4aff2fe36ae784630554df27636bc3f7c3f.tar.bz2
net: Add NET_API to DnsTransaction.
BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7300003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/dns_transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/dns_transaction.h b/net/base/dns_transaction.h
index 920d7ad..5107724 100644
--- a/net/base/dns_transaction.h
+++ b/net/base/dns_transaction.h
@@ -18,6 +18,7 @@
#include "net/base/dns_response.h"
#include "net/base/dns_transaction.h"
#include "net/base/ip_endpoint.h"
+#include "net/base/net_api.h"
#include "net/base/net_errors.h"
namespace net {
@@ -28,7 +29,7 @@ class DatagramClientSocket;
// 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 DnsTransaction : public base::NonThreadSafe {
+class NET_TEST DnsTransaction : NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
// |dns_server| is the address of the DNS server, |dns_name| is the
// hostname (in DNS format) to be resolved, |query_type| is the type of