OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/base/socket_performance_watcher.h" | 5 #include "net/base/socket_performance_watcher.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 } | 24 } |
25 } | 25 } |
26 | 26 |
27 SocketPerformanceWatcher::~SocketPerformanceWatcher() {} | 27 SocketPerformanceWatcher::~SocketPerformanceWatcher() {} |
28 | 28 |
29 void SocketPerformanceWatcher::OnUpdatedRTTAvailable( | 29 void SocketPerformanceWatcher::OnUpdatedRTTAvailable( |
30 const base::TimeDelta& rtt) const { | 30 const base::TimeDelta& rtt) const { |
31 socket_performance_watcher_factory_->OnUpdatedRTTAvailable(protocol_, rtt); | 31 socket_performance_watcher_factory_->OnUpdatedRTTAvailable(protocol_, rtt); |
32 } | 32 } |
33 | 33 |
| 34 void SocketPerformanceWatcher::OnReset() const { |
| 35 socket_performance_watcher_factory_->OnWatcherReset(); |
| 36 } |
| 37 |
34 } // namespace net | 38 } // namespace net |
OLD | NEW |