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

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

Issue 326993003: Merge 271992 "Upstream changes to:" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: Created 6 years, 6 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/java/src/org/chromium/net/HttpUrlRequestListener.java
===================================================================
--- components/cronet/android/java/src/org/chromium/net/HttpUrlRequestListener.java (revision 276124)
+++ components/cronet/android/java/src/org/chromium/net/HttpUrlRequestListener.java (working copy)
@@ -9,8 +9,10 @@
*/
public interface HttpUrlRequestListener {
/**
- * A callback invoked when the first chunk of the response has arrived.
- * The listener can only call request getContentType and getContentLength.
+ * A callback invoked when the first chunk of the response has arrived and
+ * response headers have been read. The listener can only call request
+ * getHeader, getContentType and getContentLength. This method will always
+ * be called before {@code onRequestComplete}.
*/
void onResponseStarted(HttpUrlRequest request);

Powered by Google App Engine
This is Rietveld 408576698