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

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

Issue 2742293004: Expose getters methods for NQE on UI thread (Closed)
Patch Set: ryansturm comments 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
« no previous file with comments | « net/nqe/network_quality_estimator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 base::Optional<base::TimeDelta>
1838 NetworkQualityEstimator::NetworkQualityProvider::GetHttpRTT() const {
1839 return base::Optional<base::TimeDelta>();
1840 }
1841
1842 base::Optional<base::TimeDelta>
1843 NetworkQualityEstimator::NetworkQualityProvider::GetTransportRTT() const {
1844 return base::Optional<base::TimeDelta>();
1845 }
1846
1847 base::Optional<int32_t>
1848 NetworkQualityEstimator::NetworkQualityProvider::GetDownstreamThroughputKbps()
1849 const {
1850 return base::Optional<int32_t>();
1851 }
1852
1837 } // namespace net 1853 } // namespace net
OLDNEW
« no previous file with comments | « net/nqe/network_quality_estimator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698