Index: net/base/socket_performance_watcher.cc |
diff --git a/net/base/socket_performance_watcher.cc b/net/base/socket_performance_watcher.cc |
index aa0dab3b03c9476a8d099bde13e15e9b65668850..7114432a9c0e520e0148f465eebb5dc04c5f52d0 100644 |
--- a/net/base/socket_performance_watcher.cc |
+++ b/net/base/socket_performance_watcher.cc |
@@ -12,6 +12,7 @@ SocketPerformanceWatcher::SocketPerformanceWatcher( |
const SocketPerformanceWatcherFactory::Protocol protocol, |
SocketPerformanceWatcherFactory* socket_performance_watcher_factory) |
: protocol_(protocol), |
+ rtt_notification_interval_(base::TimeDelta::FromMilliseconds(10000)), |
Ryan Sleevi
2016/02/25 22:48:46
Why not ::FromSeconds(10) ?
tbansal1
2016/02/26 23:43:34
Done. Just changed it to a very large value until
|
socket_performance_watcher_factory_(socket_performance_watcher_factory) { |
DCHECK(socket_performance_watcher_factory_); |
@@ -31,4 +32,8 @@ void SocketPerformanceWatcher::OnUpdatedRTTAvailable( |
socket_performance_watcher_factory_->OnUpdatedRTTAvailable(protocol_, rtt); |
} |
+void SocketPerformanceWatcher::Reset() const { |
+ socket_performance_watcher_factory_->WatcherReset(); |
+} |
+ |
} // namespace net |