| Index: components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java
|
| diff --git a/components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java b/components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java
|
| index 37cd30c8d2d5532a5b4db713fb92abdd3749d8fc..e0fbfb79af38dbc61d1ed58ea62ae5134a21622f 100644
|
| --- a/components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java
|
| +++ b/components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java
|
| @@ -35,7 +35,10 @@ public final class UrlResponseInfo {
|
| private final List<Map.Entry<String, String>> mAllHeadersList;
|
| private Map<String, List<String>> mHeadersMap;
|
|
|
| - HeaderBlock(List<Map.Entry<String, String>> allHeadersList) {
|
| + /**
|
| + * @hide only used by internal implementation.
|
| + */
|
| + public HeaderBlock(List<Map.Entry<String, String>> allHeadersList) {
|
| mAllHeadersList = allHeadersList;
|
| }
|
|
|
| @@ -215,8 +218,11 @@ public final class UrlResponseInfo {
|
| getProxyServer(), getReceivedBytesCount());
|
| }
|
|
|
| - // Sets mReceivedBytesCount. Must not be called after request completion or cancellation.
|
| - void setReceivedBytesCount(long currentReceivedBytesCount) {
|
| + /**
|
| + * Sets mReceivedBytesCount. Must not be called after request completion or cancellation.
|
| + * @hide only used by internal implementation.
|
| + */
|
| + public void setReceivedBytesCount(long currentReceivedBytesCount) {
|
| mReceivedBytesCount.set(currentReceivedBytesCount);
|
| }
|
| }
|
|
|