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 /** | 7 /** |
8 * Contains additional information about a response. Sent to the embedder when | 8 * Contains additional information about a response. Sent to the embedder when |
9 * request is completed. | 9 * request is completed. |
| 10 * @deprecated Use {@link UrlResponseInfo} instead. |
10 */ | 11 */ |
| 12 @Deprecated |
11 public interface ExtendedResponseInfo { | 13 public interface ExtendedResponseInfo { |
12 /** | 14 /** |
13 * Returns basic response info. | 15 * Returns basic response info. |
14 */ | 16 */ |
15 ResponseInfo getResponseInfo(); | 17 ResponseInfo getResponseInfo(); |
16 | 18 |
17 /** | 19 /** |
18 * Returns the total amount of data received from network after SSL | 20 * Returns the total amount of data received from network after SSL |
19 * decoding and proxy handling but before gzip and SDCH decompression. | 21 * decoding and proxy handling but before gzip and SDCH decompression. |
20 * Available on request completion. | 22 * Available on request completion. |
21 */ | 23 */ |
22 long getTotalReceivedBytes(); | 24 long getTotalReceivedBytes(); |
23 } | 25 } |
OLD | NEW |