Index: chrome/common/net/net_error_info.cc |
diff --git a/chrome/common/net/net_error_info.cc b/chrome/common/net/net_error_info.cc |
index dd67c7dd2169699c1825b60be7890b95a173c9ab..e02f1b4d92d8a5d551ee0070c8b536f1709ef9c9 100644 |
--- a/chrome/common/net/net_error_info.cc |
+++ b/chrome/common/net/net_error_info.cc |
@@ -40,6 +40,9 @@ bool DnsProbeStatusIsFinished(DnsProbeStatus status) { |
} |
bool DnsProbesEnabled() { |
+#if defined(OS_ANDROID) |
+ return false; |
+#else |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
if (command_line->HasSwitch(switches::kDisableDnsProbes)) |
@@ -52,6 +55,7 @@ bool DnsProbesEnabled() { |
return base::FieldTrialList::FindFullName(kDnsProbeFieldTrialName) == |
kDnsProbeFieldTrialEnableGroupName; |
+#endif // OS_ANDROID |
} |
} // namespace chrome_common_net |