OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/nqe/network_quality.h" | 5 #include "net/nqe/network_quality.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 namespace nqe { | 8 namespace nqe { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 (transport_rtt() == InvalidRTT() || | 50 (transport_rtt() == InvalidRTT() || |
51 other.transport_rtt() == InvalidRTT() || | 51 other.transport_rtt() == InvalidRTT() || |
52 transport_rtt() <= other.transport_rtt()) && | 52 transport_rtt() <= other.transport_rtt()) && |
53 (downstream_throughput_kbps() == kInvalidThroughput || | 53 (downstream_throughput_kbps() == kInvalidThroughput || |
54 other.downstream_throughput_kbps() == kInvalidThroughput || | 54 other.downstream_throughput_kbps() == kInvalidThroughput || |
55 downstream_throughput_kbps() >= other.downstream_throughput_kbps()); | 55 downstream_throughput_kbps() >= other.downstream_throughput_kbps()); |
56 } | 56 } |
57 | 57 |
58 } // namespace internal | 58 } // namespace internal |
59 } // namespace nqe | 59 } // namespace nqe |
60 } // namespace net | 60 } // namespace net |
OLD | NEW |