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

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/NetworkQualityRttListener.java

Issue 1273173002: Added Network Quality Estimator Real-time interface to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 2 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
(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.
12 */
13 public interface NetworkQualityRttListener {
14 /**
15 * Reports a new round trip time observation.
16 * @param rttMs the round trip time in milliseconds.
17 * @param whenMs milliseconds since the Epoch (January 1st 1970, 00:00:00.00 0).
18 * @param source the observation source from {@link NetworkQualityObservatio nSource}.
19 */
20 public void onRttObservation(int rttMs, long whenMs, int source);
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698