| OLD | NEW |
| 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.util.Pair; | 7 import android.util.Pair; |
| 8 | 8 |
| 9 import java.util.List; | 9 import java.util.List; |
| 10 import java.util.Map; | 10 import java.util.Map; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 boolean wasCached(); | 61 boolean wasCached(); |
| 62 | 62 |
| 63 /** | 63 /** |
| 64 * @return protocol (e.g. "quic/1+spdy/3") negotiated with server. Returns | 64 * @return protocol (e.g. "quic/1+spdy/3") negotiated with server. Returns |
| 65 * empty string if no protocol was negotiated, or the protocol is not known. | 65 * empty string if no protocol was negotiated, or the protocol is not known. |
| 66 * Returns empty when using plain http or https. | 66 * Returns empty when using plain http or https. |
| 67 * TODO(mef): Figure out what this returns in the cached case, both with | 67 * TODO(mef): Figure out what this returns in the cached case, both with |
| 68 * and without a revalidation request. | 68 * and without a revalidation request. |
| 69 */ | 69 */ |
| 70 String getNegotiatedProtocol(); | 70 String getNegotiatedProtocol(); |
| 71 |
| 72 /** |
| 73 * @return the proxy server that was used for the request. |
| 74 */ |
| 75 String getProxyServer(); |
| 71 }; | 76 }; |
| OLD | NEW |