Index: net/base/network_quality.cc |
diff --git a/net/base/network_quality.cc b/net/base/network_quality.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a1a1ee04a1b2b0da88258fb99e0060fd72bce00e |
--- /dev/null |
+++ b/net/base/network_quality.cc |
@@ -0,0 +1,21 @@ |
+// 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/network_quality.h" |
+ |
+#include "base/logging.h" |
+ |
+namespace net { |
+ |
+NetworkQuality::NetworkQuality(const base::TimeDelta& rtt, |
+ int32_t downstream_throughput_kbps) |
+ : rtt_(rtt), downstream_throughput_kbps_(downstream_throughput_kbps) { |
+ DCHECK_GE(rtt_, base::TimeDelta()); |
+ DCHECK_GE(downstream_throughput_kbps_, 0); |
+} |
+ |
+NetworkQuality::~NetworkQuality() { |
+} |
+ |
+} // namespace net |