Chromium Code Reviews| Index: components/cronet/android/java/src/org/chromium/net/ExtendedResponseInfo.java |
| diff --git a/components/cronet/android/java/src/org/chromium/net/ExtendedResponseInfo.java b/components/cronet/android/java/src/org/chromium/net/ExtendedResponseInfo.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..669d915ec6f1085324ac5d71fc9561198a196fc5 |
| --- /dev/null |
| +++ b/components/cronet/android/java/src/org/chromium/net/ExtendedResponseInfo.java |
| @@ -0,0 +1,18 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package org.chromium.net; |
| + |
| +/** |
| + * Contains additional information about a response. Sent to the embedder when |
| + * request is completed. |
| + */ |
| +public interface ExtendedResponseInfo extends ResponseInfo { |
|
mmenke
2014/10/02 15:24:09
Maybe ResponseCompleteInfo?
mef
2014/10/02 22:07:43
Maybe. I was weaseling my way out in the case if w
|
| + /** |
| + * Returns the total amount of data received from network after SSL |
| + * decoding and proxy handling but before gzip and sdch decompression. |
| + * Available on request completion. |
| + */ |
| + long getTotalReceivedBytes(); |
| +} |