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

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

Issue 2188553002: Delete old NetworkQualityEstimator Cronet API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metrics-executor
Patch Set: rebase again. ugh. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.net; 5 package org.chromium.net;
6 6
7 import static android.os.Process.THREAD_PRIORITY_BACKGROUND; 7 import static android.os.Process.THREAD_PRIORITY_BACKGROUND;
8 import static android.os.Process.THREAD_PRIORITY_MORE_FAVORABLE; 8 import static android.os.Process.THREAD_PRIORITY_MORE_FAVORABLE;
9 9
10 import java.io.IOException; 10 import java.io.IOException;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 public String getCertVerifierData(long timeout) { 97 public String getCertVerifierData(long timeout) {
98 return ""; 98 return "";
99 } 99 }
100 100
101 @Override 101 @Override
102 public byte[] getGlobalMetricsDeltas() { 102 public byte[] getGlobalMetricsDeltas() {
103 return new byte[0]; 103 return new byte[0];
104 } 104 }
105 105
106 @Override 106 @Override
107 public void setRequestFinishedListenerExecutor(Executor executor) {}
108
109 @Override
110 public void enableNetworkQualityEstimator(Executor executor) {}
111
112 @Override
113 public void configureNetworkQualityEstimatorForTesting( 107 public void configureNetworkQualityEstimatorForTesting(
114 boolean useLocalHostRequests, boolean useSmallerResponses) {} 108 boolean useLocalHostRequests, boolean useSmallerResponses) {}
115 109
116 @Override 110 @Override
117 public void addRttListener(NetworkQualityRttListener listener) {} 111 public void addRttListener(NetworkQualityRttListener listener) {}
118 112
119 @Override 113 @Override
120 public void removeRttListener(NetworkQualityRttListener listener) {} 114 public void removeRttListener(NetworkQualityRttListener listener) {}
121 115
122 @Override 116 @Override
(...skipping 23 matching lines...) Expand all
146 // Returning null causes this factory to pass though, which ends up usin g the platform's 140 // Returning null causes this factory to pass though, which ends up usin g the platform's
147 // implementation. 141 // implementation.
148 return new URLStreamHandlerFactory() { 142 return new URLStreamHandlerFactory() {
149 @Override 143 @Override
150 public URLStreamHandler createURLStreamHandler(String protocol) { 144 public URLStreamHandler createURLStreamHandler(String protocol) {
151 return null; 145 return null;
152 } 146 }
153 }; 147 };
154 } 148 }
155 } 149 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698