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

Unified Diff: chrome/browser/android/offline_pages/background_loader_offliner.cc

Issue 2808313002: [Offline pages] Make all net error codes retriable. (Closed)
Patch Set: Created 3 years, 8 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 | chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/background_loader_offliner.cc
diff --git a/chrome/browser/android/offline_pages/background_loader_offliner.cc b/chrome/browser/android/offline_pages/background_loader_offliner.cc
index 90a5f96b57bc19ee75c53f7d43606b027da0bd47..603263f84dd6714c68b95a4496639ae1a7b101c5 100644
--- a/chrome/browser/android/offline_pages/background_loader_offliner.cc
+++ b/chrome/browser/android/offline_pages/background_loader_offliner.cc
@@ -255,32 +255,6 @@ void BackgroundLoaderOffliner::DidFinishNavigation(
RecordErrorCauseUMA(pending_request_->client_id(),
navigation_handle->GetNetErrorCode());
switch (navigation_handle->GetNetErrorCode()) {
- case net::ERR_ACCESS_DENIED:
- case net::ERR_ADDRESS_INVALID:
- case net::ERR_ADDRESS_UNREACHABLE:
- case net::ERR_CERT_COMMON_NAME_INVALID:
- case net::ERR_CERT_AUTHORITY_INVALID:
- case net::ERR_CERT_CONTAINS_ERRORS:
- case net::ERR_CERT_INVALID:
- case net::ERR_CONNECTION_FAILED:
- case net::ERR_DISALLOWED_URL_SCHEME:
- case net::ERR_DNS_SERVER_FAILED:
- case net::ERR_FILE_NOT_FOUND:
- case net::ERR_FILE_PATH_TOO_LONG:
- case net::ERR_FILE_TOO_BIG:
- case net::ERR_FILE_VIRUS_INFECTED:
- case net::ERR_INVALID_HANDLE:
- case net::ERR_INVALID_RESPONSE:
- case net::ERR_INVALID_URL:
- case net::ERR_MSG_TOO_BIG:
- case net::ERR_NAME_NOT_RESOLVED:
- case net::ERR_NAME_RESOLUTION_FAILED:
- case net::ERR_SSL_PROTOCOL_ERROR:
- case net::ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED:
- case net::ERR_SSL_SERVER_CERT_BAD_FORMAT:
- case net::ERR_UNKNOWN_URL_SCHEME:
- page_load_state_ = NONRETRIABLE;
- break;
case net::ERR_INTERNET_DISCONNECTED:
page_load_state_ = DELAY_RETRY;
break;
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698