| 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/loader/layered_resource_handler.h" | 5 #include "content/browser/loader/layered_resource_handler.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 DCHECK(next_handler_.get()); | 73 DCHECK(next_handler_.get()); |
| 74 return next_handler_->OnResponseCompleted(request_id, status, security_info); | 74 return next_handler_->OnResponseCompleted(request_id, status, security_info); |
| 75 } | 75 } |
| 76 | 76 |
| 77 void LayeredResourceHandler::OnDataDownloaded(int request_id, | 77 void LayeredResourceHandler::OnDataDownloaded(int request_id, |
| 78 int bytes_downloaded) { | 78 int bytes_downloaded) { |
| 79 DCHECK(next_handler_.get()); | 79 DCHECK(next_handler_.get()); |
| 80 next_handler_->OnDataDownloaded(request_id, bytes_downloaded); | 80 next_handler_->OnDataDownloaded(request_id, bytes_downloaded); |
| 81 } | 81 } |
| 82 | 82 |
| 83 void LayeredResourceHandler::OnRequestPriorityChanged(int request_id) { |
| 84 DCHECK(next_handler_.get()); |
| 85 next_handler_->OnRequestPriorityChanged(request_id); |
| 86 } |
| 87 |
| 83 } // namespace content | 88 } // namespace content |
| OLD | NEW |