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

Unified Diff: net/base/net_error_list.h

Issue 1153093002: Implement URLRequestBackoffManager for managing Backoff headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | net/net.gypi » ('j') | net/url_request/url_request_context_builder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index f12003bc26bf07bc6bacfb3a3c67bbcea07bc934..f8cf6cb111f6e03816e4141d642c73e8ba38c598 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -803,3 +803,6 @@ NET_ERROR(DNS_SEARCH_EMPTY, -805)
// Failed to sort addresses according to RFC3484.
NET_ERROR(DNS_SORT_ERROR, -806)
+
+// Request is throttled because of Backoff header.
+NET_ERROR(TEMPORARY_BACKOFF, -807)
mmenke 2015/07/07 21:33:10 The 8xx errors are used for DNS errors. The -3xx
mmenke 2015/07/07 21:33:10 Should add an error page for this, since this is a
xunjieli 2015/07/08 16:10:49 Done. I see! I missed the comments at the top.
xunjieli 2015/07/08 16:10:49 Done.
« no previous file with comments | « no previous file | net/net.gypi » ('j') | net/url_request/url_request_context_builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698