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

Unified Diff: net/dns/dns_util.h

Issue 1778933002: DNS: Per-network-type and Finch-variable timeouts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove change to gdig. Created 4 years, 9 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
« no previous file with comments | « net/dns/dns_session_unittest.cc ('k') | net/dns/dns_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_util.h
diff --git a/net/dns/dns_util.h b/net/dns/dns_util.h
index 74f17cc839dc71e372166462999e162a58d31ff2..1acbd668cdcd7670ed60ba13159ccc5cb79758e7 100644
--- a/net/dns/dns_util.h
+++ b/net/dns/dns_util.h
@@ -8,7 +8,9 @@
#include <string>
#include "base/strings/string_piece.h"
+#include "base/time/time.h"
#include "net/base/net_export.h"
+#include "net/base/network_change_notifier.h"
namespace net {
@@ -30,6 +32,14 @@ NET_EXPORT_PRIVATE std::string DNSDomainToString(
// Also returns false if it cannot determine this.
NET_EXPORT_PRIVATE bool HaveOnlyLoopbackAddresses();
+#if !defined(OS_NACL)
+NET_EXPORT_PRIVATE
+base::TimeDelta GetTimeDeltaForConnectionTypeFromFieldTrialOrDefault(
+ const char* field_trial_name,
+ base::TimeDelta default_delta,
+ NetworkChangeNotifier::ConnectionType connection_type);
+#endif // !defined(OS_NACL)
+
} // namespace net
#endif // NET_DNS_DNS_UTIL_H_
« no previous file with comments | « net/dns/dns_session_unittest.cc ('k') | net/dns/dns_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698