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

Unified Diff: net/base/dnsrr_resolver.h

Issue 8429034: Upstream: Build net_unittests for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build Created 9 years, 1 month 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/dnsrr_resolver.h
diff --git a/net/base/dnsrr_resolver.h b/net/base/dnsrr_resolver.h
index c6c5fef6fbc0181c8d589f8909561af5cba37cc6..21c4e12989218524df9b9c206a0b13b485cbfd89 100644
--- a/net/base/dnsrr_resolver.h
+++ b/net/base/dnsrr_resolver.h
@@ -31,9 +31,11 @@ struct NET_EXPORT_PRIVATE RRResponse {
// |current_time|.
bool HasExpired(base::Time current_time) const;
+#if defined(OS_POSIX) && !defined(OS_ANDROID)
// For testing only
bool ParseFromResponse(const uint8* data, unsigned len,
uint16 rrtype_requested);
+#endif
// name contains the canonical name of the resulting domain. If the queried
// name was a CNAME then this can differ.

Powered by Google App Engine
This is Rietveld 408576698