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

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

Issue 2178053002: Change RequestFinishedListener to provide executor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add back old NQE API 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/java/src/org/chromium/net/impl/CronetUrlRequest.java
diff --git a/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java b/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java
index fd13de1b7f0d002fea46abca29b1e4ae8cb02e72..07ca701143a7941d1fa7391cfa653f4e0ad6950f 100644
--- a/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java
+++ b/components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java
@@ -492,9 +492,8 @@ public final class CronetUrlRequest implements UrlRequest {
////////////////////////////////////////////////
/**
- * Called before following redirects. The redirect will automatically be
- * followed, unless the request is paused or canceled during this
- * callback. If the redirect response has a body, it will be ignored.
+ * Called before following redirects. The redirect will only be followed if followRedirect() is
xunjieli 2016/07/26 21:11:08 This line seems a bit too long compare to the rest
mgersh 2016/07/27 20:54:12 Done.
+ * called. If the redirect response has a body, it will be ignored.
* This will only be called between start and onResponseStarted.
*
* @param newLocation Location where request is redirected.

Powered by Google App Engine
This is Rietveld 408576698