Index: net/base/socket_performance_watcher.cc |
diff --git a/net/base/socket_performance_watcher.cc b/net/base/socket_performance_watcher.cc |
deleted file mode 100644 |
index aa0dab3b03c9476a8d099bde13e15e9b65668850..0000000000000000000000000000000000000000 |
--- a/net/base/socket_performance_watcher.cc |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "net/base/socket_performance_watcher.h" |
- |
-#include "base/logging.h" |
- |
-namespace net { |
- |
-SocketPerformanceWatcher::SocketPerformanceWatcher( |
- const SocketPerformanceWatcherFactory::Protocol protocol, |
- SocketPerformanceWatcherFactory* socket_performance_watcher_factory) |
- : protocol_(protocol), |
- socket_performance_watcher_factory_(socket_performance_watcher_factory) { |
- DCHECK(socket_performance_watcher_factory_); |
- |
- switch (protocol) { |
- case SocketPerformanceWatcherFactory::PROTOCOL_TCP: |
- case SocketPerformanceWatcherFactory::PROTOCOL_QUIC: |
- return; |
- default: |
- NOTREACHED(); |
- } |
-} |
- |
-SocketPerformanceWatcher::~SocketPerformanceWatcher() {} |
- |
-void SocketPerformanceWatcher::OnUpdatedRTTAvailable( |
- const base::TimeDelta& rtt) const { |
- socket_performance_watcher_factory_->OnUpdatedRTTAvailable(protocol_, rtt); |
-} |
- |
-} // namespace net |