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

Unified Diff: mojo/fetcher/network_fetcher.cc

Issue 1342093002: Mandoline: let html_viewer handle more contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « mojo/fetcher/about_fetcher_unittest.cc ('k') | mojo/fetcher/network_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/fetcher/network_fetcher.cc
diff --git a/mojo/fetcher/network_fetcher.cc b/mojo/fetcher/network_fetcher.cc
index 24a11688c30eb289df18db9301fa118a3ba6af15..603cf50de6c42c017227f7e8f6a61e47d0097103 100644
--- a/mojo/fetcher/network_fetcher.cc
+++ b/mojo/fetcher/network_fetcher.cc
@@ -242,14 +242,6 @@ void NetworkFetcher::OnLoadComplete(URLResponsePtr response) {
return;
}
- if (response->status_code >= 400 && response->status_code < 600) {
- LOG(ERROR) << "Error (" << response->status_code << ": "
- << response->status_line << "): "
- << "while fetching " << response->url;
- loader_callback_.Run(nullptr);
- return;
- }
-
response_ = response.Pass();
loader_callback_.Run(owner.Pass());
}
« no previous file with comments | « mojo/fetcher/about_fetcher_unittest.cc ('k') | mojo/fetcher/network_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698