| 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..481f3d1c9b2241b55ff918491c80ad367b0aca3f
|
| --- /dev/null
|
| +++ b/components/cronet/android/java/src/org/chromium/net/ExtendedResponseInfo.java
|
| @@ -0,0 +1,23 @@
|
| +// 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 {
|
| + /**
|
| + * Returns basic response info.
|
| + */
|
| + ResponseInfo getResponseInfo();
|
| +
|
| + /**
|
| + * 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();
|
| +}
|
|
|