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 round trip times. | |
| 9 */ | |
| 10 public interface NetworkQualityRTTObserver { | |
| 11 /** | |
| 12 * Reports a new round trip time observation. This is called on the network thread, so the | |
| 13 * observer should exit quickly. | |
| 14 * @param rttMs The round trip time in milliseconds. | |
| 15 * @param whenMs The time since the epoch in milliseconds. | |
| 16 * @param source The observation source from {@link NetworkQualityObservatio nSource}. | |
| 17 */ | |
|
tbansal1
2015/08/31 15:52:45
I believe |whenMs| should be long. Java prefers un
bengr
2015/08/31 21:46:17
Done.
| |
| 18 public void onRTTObservation(int rttMs, int whenMs, int source); | |
| 19 } | |
| OLD | NEW |