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

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

Issue 1393713005: [Cronet] Add error code and immediatelyRetryable() to UrlRequestException (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing test annotation Created 4 years, 11 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/BidirectionalStream.java
diff --git a/components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java b/components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java
index 091befc83ad6c1e03b6d2af2f383a273920c7e43..5b6d04bfc427ba4052019ed18cb7c70cbb54004f 100644
--- a/components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java
+++ b/components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java
@@ -261,8 +261,8 @@ public abstract class BidirectionalStream {
/**
* Invoked if the stream failed for any reason after {@link BidirectionalStream#start}.
* <a href="https://tools.ietf.org/html/rfc7540#section-7">HTTP/2 error codes</a> are
- * mapped to {@link CronetException#netError} codes. Once invoked, no further
- * {@link BidirectionalStream.Callback} methods will be invoked.
+ * mapped to {@link UrlRequestException#getCronetInternalErrorCode} codes. Once invoked,
+ * no further {@link BidirectionalStream.Callback} methods will be invoked.
*
* @param stream the stream which has failed
* @param info the response information. May be {@code null} if no response was

Powered by Google App Engine
This is Rietveld 408576698