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

Unified Diff: components/cronet/android/java/src/org/chromium/net/RTTObserver.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: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/java/src/org/chromium/net/RTTObserver.java
diff --git a/components/cronet/android/java/src/org/chromium/net/RTTObserver.java b/components/cronet/android/java/src/org/chromium/net/RTTObserver.java
new file mode 100644
index 0000000000000000000000000000000000000000..8f28fb9a324cecce6304595c157ba093ed0a09f9
--- /dev/null
+++ b/components/cronet/android/java/src/org/chromium/net/RTTObserver.java
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.net;
+
+/**
+ * Class to watch for observations of round trip times.
+ */
+public interface RTTObserver {
mef 2015/08/11 17:16:26 Need moar comments. Also, should it have a name li
bengr 2015/08/25 23:43:34 Done.
+ public void onRTTObservation(int value, int when,
+ NetworkQualityObservationSource source);
+}

Powered by Google App Engine
This is Rietveld 408576698