Index: components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
diff --git a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
index e6f5ef04884cf5e7c919b32f7e23f7c62c477096..db94b70f99baed3475183f1d4a17cb3312b5c557 100644 |
--- a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
+++ b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java |
@@ -56,6 +56,11 @@ public final class NativeTestServer { |
return nativeGetSdchURL(); |
} |
+ // Returns a URL that the server will return an Exabyte of data |
+ public static String getExabyteResponseURL() { |
+ return nativeGetExabyteResponseURL(); |
+ } |
+ |
// The following URLs will make NativeTestServer serve a response based on |
// the contents of the corresponding file and its mock-http-headers file. |
@@ -92,6 +97,7 @@ public final class NativeTestServer { |
private static native String nativeGetRedirectToEchoBody(); |
private static native String nativeGetFileURL(String filePath); |
private static native String nativeGetSdchURL(); |
+ private static native String nativeGetExabyteResponseURL(); |
private static native String nativeGetHostPort(); |
private static native boolean nativeIsDataReductionProxySupported(); |
} |