Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1280)

Side by Side Diff: net/nqe/network_quality_estimator.cc

Issue 2742293004: Expose getters methods for NQE on UI thread (Closed)
Patch Set: ps Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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_estimator.h" 5 #include "net/nqe/network_quality_estimator.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <limits> 9 #include <limits>
10 #include <utility> 10 #include <utility>
(...skipping 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 case STATISTIC_UNWEIGHTED_AVERAGE: 1827 case STATISTIC_UNWEIGHTED_AVERAGE:
1828 return "UnweightedAverage"; 1828 return "UnweightedAverage";
1829 case STATISTIC_LAST: 1829 case STATISTIC_LAST:
1830 NOTREACHED(); 1830 NOTREACHED();
1831 return ""; 1831 return "";
1832 } 1832 }
1833 NOTREACHED(); 1833 NOTREACHED();
1834 return ""; 1834 return "";
1835 } 1835 }
1836 1836
1837 bool NetworkQualityEstimator::NetworkQualityProvider::GetHttpRTT(
1838 base::TimeDelta* http_rtt) const {
1839 return false;
1840 }
1841
1842 bool NetworkQualityEstimator::NetworkQualityProvider::GetTransportRTT(
1843 base::TimeDelta* transport_rtt) const {
1844 return false;
1845 }
1846
1847 bool NetworkQualityEstimator::NetworkQualityProvider::
1848 GetDownstreamThroughputKbps(int32_t* downstream_throughput_kbps) const {
1849 return false;
1850 }
1851
1837 } // namespace net 1852 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698