[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / net / base / network_quality.cc
bloba1a1ee04a1b2b0da88258fb99e0060fd72bce00e
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.
5 #include "net/base/network_quality.h"
7 #include "base/logging.h"
9 namespace net {
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);
18 NetworkQuality::~NetworkQuality() {
21 } // namespace net