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

Unified Diff: components/cronet/android/test/src/org/chromium/net/NativeTestServer.java

Issue 1112513003: Put Data Reduction Proxy support in Cronet behind a gyp flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cronet
Patch Set: Addressed comments Created 5 years, 7 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
« no previous file with comments | « components/cronet/android/test/native_test_server.cc ('k') | components/cronet/cronet_static.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9c80c260231fb94397b1cf98d02feff48a3ae6a9..9be7a3bc67dcab31d9acace04d3671dad80a5d5d 100644
--- a/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
+++ b/components/cronet/android/test/src/org/chromium/net/NativeTestServer.java
@@ -95,6 +95,10 @@ public final class NativeTestServer {
return nativeGetHostPort();
}
+ public static boolean isDataReductionProxySupported() {
+ return nativeIsDataReductionProxySupported();
+ }
+
@CalledByNative
private static void onHostResolverProcRegistered() {
sHostResolverBlock.open();
@@ -112,4 +116,5 @@ public final class NativeTestServer {
private static native String nativeGetFileURL(String filePath);
private static native String nativeGetSdchURL();
private static native String nativeGetHostPort();
+ private static native boolean nativeIsDataReductionProxySupported();
}
« no previous file with comments | « components/cronet/android/test/native_test_server.cc ('k') | components/cronet/cronet_static.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698