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

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

Issue 1359343005: Update ResponseInfo to UrlResponseInfo with API review comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass the integration tests. Created 5 years, 2 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
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 /** 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698