OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/base/network_quality.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace net { |
| 10 |
| 11 NetworkQuality::NetworkQuality(const base::TimeDelta& rtt, |
| 12 int32_t downstream_throughput_kbps) |
| 13 : rtt_(rtt), downstream_throughput_kbps_(downstream_throughput_kbps) { |
| 14 DCHECK_GE(rtt_, base::TimeDelta()); |
| 15 DCHECK_GE(downstream_throughput_kbps_, 0); |
| 16 } |
| 17 |
| 18 NetworkQuality::~NetworkQuality() { |
| 19 } |
| 20 |
| 21 } // namespace net |
OLD | NEW |