diff options
Diffstat (limited to 'chromium/services/network/throttling/network_conditions.h')
-rw-r--r-- | chromium/services/network/throttling/network_conditions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/services/network/throttling/network_conditions.h b/chromium/services/network/throttling/network_conditions.h index 7b34446f654..2c08c88e9b5 100644 --- a/chromium/services/network/throttling/network_conditions.h +++ b/chromium/services/network/throttling/network_conditions.h @@ -28,6 +28,8 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkConditions { bool IsThrottling() const; bool offline() const { return offline_; } + + // These are 0 if the corresponding throttle is disabled, >0 otherwise. double latency() const { return latency_; } double download_throughput() const { return download_throughput_; } double upload_throughput() const { return upload_throughput_; } |