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

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

Issue 2839413003: Delete Cronet Data Reduction Proxy integration (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « components/cronet/android/test/native_test_server.cc ('k') | components/cronet/ios/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 android.content.Context; 7 import android.content.Context;
8 8
9 import org.chromium.base.annotations.JNINamespace; 9 import org.chromium.base.annotations.JNINamespace;
10 import org.chromium.base.test.util.UrlUtils; 10 import org.chromium.base.test.util.UrlUtils;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 public static int getPort() { 86 public static int getPort() {
87 return nativeGetPort(); 87 return nativeGetPort();
88 } 88 }
89 89
90 public static String getHostPort() { 90 public static String getHostPort() {
91 return nativeGetHostPort(); 91 return nativeGetHostPort();
92 } 92 }
93 93
94 public static boolean isDataReductionProxySupported() {
95 return nativeIsDataReductionProxySupported();
96 }
97
98 private static native boolean nativeStartNativeTestServer(String filePath, S tring testDataDir); 94 private static native boolean nativeStartNativeTestServer(String filePath, S tring testDataDir);
99 private static native void nativeShutdownNativeTestServer(); 95 private static native void nativeShutdownNativeTestServer();
100 private static native String nativeGetEchoBodyURL(); 96 private static native String nativeGetEchoBodyURL();
101 private static native String nativeGetEchoHeaderURL(String header); 97 private static native String nativeGetEchoHeaderURL(String header);
102 private static native String nativeGetEchoAllHeadersURL(); 98 private static native String nativeGetEchoAllHeadersURL();
103 private static native String nativeGetEchoMethodURL(); 99 private static native String nativeGetEchoMethodURL();
104 private static native String nativeGetRedirectToEchoBody(); 100 private static native String nativeGetRedirectToEchoBody();
105 private static native String nativeGetFileURL(String filePath); 101 private static native String nativeGetFileURL(String filePath);
106 private static native String nativeGetExabyteResponseURL(); 102 private static native String nativeGetExabyteResponseURL();
107 private static native String nativeGetHostPort(); 103 private static native String nativeGetHostPort();
108 private static native int nativeGetPort(); 104 private static native int nativeGetPort();
109 private static native boolean nativeIsDataReductionProxySupported();
110 } 105 }
OLDNEW
« no previous file with comments | « components/cronet/android/test/native_test_server.cc ('k') | components/cronet/ios/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698