| Index: chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java b/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java
|
| index f5aa307ac9cbd0950aaa062ab65b27e3b1cc0fdf..cfc6f6d984e89d2df82b1c2bbc68e92352e49163 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java
|
| @@ -137,30 +137,6 @@ public class DataReductionProxySettings {
|
| }
|
|
|
| /**
|
| - * Returns true if the host and realm (as passed in to Tab.onReceivedHttpAuthRequest()) are such
|
| - * that a authentication token can be generated. The host must match one of the configured proxy
|
| - * hosts, and the realm must be prefixed with the authentication realm string used by the data
|
| - * reduction proxies.
|
| - * @param host The host requesting authentication.
|
| - * @param realm The authentication realm.
|
| - * @return True if host and realm can be authenticated.
|
| - */
|
| - public boolean isAcceptableAuthChallenge(String host, String realm) {
|
| - return nativeIsAcceptableAuthChallenge(mNativeDataReductionProxySettings, host, realm);
|
| - }
|
| -
|
| - /**
|
| - * Returns an authentication token for the data reduction proxy. If the token cannot be
|
| - * generated, an empty string is returned.
|
| - * @param host The host requesting authentication.
|
| - * @param realm The authentication realm.
|
| - * @return The generated token.
|
| - */
|
| - public String getTokenForAuthChallenge(String host, String realm) {
|
| - return nativeGetTokenForAuthChallenge(mNativeDataReductionProxySettings, host, realm);
|
| - }
|
| -
|
| - /**
|
| * Retrieves the history of daily totals of bytes that would have been
|
| * received if no data reducing mechanism had been applied.
|
| * @return The history of daily totals
|
| @@ -221,10 +197,6 @@ public class DataReductionProxySettings {
|
| long nativeDataReductionProxySettingsAndroid);
|
| private native ContentLengths nativeGetContentLengths(
|
| long nativeDataReductionProxySettingsAndroid);
|
| - private native boolean nativeIsAcceptableAuthChallenge(
|
| - long nativeDataReductionProxySettingsAndroid, String host, String realm);
|
| - private native String nativeGetTokenForAuthChallenge(
|
| - long nativeDataReductionProxySettingsAndroid, String host, String realm);
|
| private native long[] nativeGetDailyOriginalContentLengths(
|
| long nativeDataReductionProxySettingsAndroid);
|
| private native long[] nativeGetDailyReceivedContentLengths(
|
|
|