Chromium Code Reviews| Index: content/browser/frame_host/navigation_request.cc |
| diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
| index e5973ee3284556933bebee93e008f511026f5236..c78d4b8a1821686d38a6b723d45800b442688682 100644 |
| --- a/content/browser/frame_host/navigation_request.cc |
| +++ b/content/browser/frame_host/navigation_request.cc |
| @@ -203,11 +203,11 @@ void NavigationRequest::OnResponseStarted( |
| response.get(), body.Pass()); |
| } |
| -void NavigationRequest::OnRequestFailed(int net_error) { |
| +void NavigationRequest::OnRequestFailed(bool in_cache, int net_error) { |
|
Charlie Reis
2015/04/09 00:07:30
Please use the same name as in Navigator (has_stal
clamy
2015/04/10 14:04:49
Done.
|
| DCHECK(state_ == STARTED); |
| state_ = FAILED; |
| - // TODO(davidben): Network failures should display a network error page. |
| - NOTIMPLEMENTED() << " where net_error=" << net_error; |
| + frame_tree_node_->navigator()->FailedNavigation(frame_tree_node_, in_cache, |
| + net_error); |
| } |
| void NavigationRequest::OnRequestStarted(base::TimeTicks timestamp) { |