Index: components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
diff --git a/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java b/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
index 6d53f528f4bc14875de6917520fa87cbfeee43cf..1e2e1e57d68c5297b9b69cd1d15fa7a7fd2f787e 100644 |
--- a/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
+++ b/components/cronet/android/test/javaperftests/src/org/chromium/net/CronetPerfTestActivity.java |
@@ -397,31 +397,32 @@ public class CronetPerfTestActivity extends Activity { |
} |
@Override |
- public void onResponseStarted(UrlRequest request, ResponseInfo info) { |
+ public void onResponseStarted(UrlRequest request, UrlResponseInfo info) { |
mBuffer.clear(); |
request.readNew(mBuffer); |
} |
@Override |
public void onReceivedRedirect( |
- UrlRequest request, ResponseInfo info, String newLocationUrl) { |
+ UrlRequest request, UrlResponseInfo info, String newLocationUrl) { |
request.followRedirect(); |
} |
@Override |
public void onReadCompleted( |
- UrlRequest request, ResponseInfo info, ByteBuffer byteBuffer) { |
+ UrlRequest request, UrlResponseInfo info, ByteBuffer byteBuffer) { |
mBuffer.clear(); |
request.readNew(mBuffer); |
} |
@Override |
- public void onSucceeded(UrlRequest request, ExtendedResponseInfo info) { |
+ public void onSucceeded(UrlRequest request, UrlResponseInfo info) { |
mCompletionCallback.run(); |
} |
@Override |
- public void onFailed(UrlRequest request, ResponseInfo info, UrlRequestException e) { |
+ public void onFailed( |
+ UrlRequest request, UrlResponseInfo info, UrlRequestException e) { |
System.out.println("Async request failed with " + e); |
mFailed = true; |
} |