Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 package org.chromium.net; | |
| 6 | |
| 7 /** | |
| 8 * Interface to watch for observations of various round trip times (RTTs) at | |
| 9 * various layers of the network stack. These include RTT estimates by QUIC | |
| 10 * and TCP, as well as the time between when a URL request is sent and when | |
| 11 * the first byte of the response is received. The source of the RTT is | |
| 12 * included in the API. | |
| 13 */ | |
| 14 public interface NetworkQualityRttObserver { | |
|
mef
2015/09/25 19:06:42
According to Android API Guildelines this here sho
bengr
2015/09/29 23:22:50
Done.
| |
| 15 /** | |
| 16 * Reports a new round trip time observation. | |
| 17 * @param rttMs the round trip time in milliseconds. | |
| 18 * @param whenMs the time since the epoch in milliseconds. | |
| 19 * @param source the observation source from {@link NetworkQualityObservatio nSource}. | |
| 20 */ | |
| 21 public void onRttObservation(int rttMs, long whenMs, int source); | |
| 22 } | |
| OLD | NEW |