OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/renderer_host/doomed_resource_handler.h" | 5 #include "content/browser/loader/doomed_resource_handler.h" |
6 | 6 |
7 #include "net/url_request/url_request_status.h" | 7 #include "net/url_request/url_request_status.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 DoomedResourceHandler::DoomedResourceHandler( | 11 DoomedResourceHandler::DoomedResourceHandler( |
12 scoped_ptr<ResourceHandler> old_handler) | 12 scoped_ptr<ResourceHandler> old_handler) |
13 : old_handler_(old_handler.Pass()) { | 13 : old_handler_(old_handler.Pass()) { |
14 } | 14 } |
15 | 15 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 status.status() == net::URLRequestStatus::FAILED); | 68 status.status() == net::URLRequestStatus::FAILED); |
69 return true; | 69 return true; |
70 } | 70 } |
71 | 71 |
72 void DoomedResourceHandler::OnDataDownloaded(int request_id, | 72 void DoomedResourceHandler::OnDataDownloaded(int request_id, |
73 int bytes_downloaded) { | 73 int bytes_downloaded) { |
74 NOTREACHED(); | 74 NOTREACHED(); |
75 } | 75 } |
76 | 76 |
77 } // namespace content | 77 } // namespace content |
OLD | NEW |