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

Unified Diff: components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java

Issue 1849753002: [Cronet] Separate Cronet implementation and API by package name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
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);
}
}

Powered by Google App Engine
This is Rietveld 408576698