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

Side by Side Diff: content/browser/loader/layered_resource_handler.cc

Issue 11414299: Add content/browser/loader/ for resource loading related classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/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
11 LayeredResourceHandler::LayeredResourceHandler( 11 LayeredResourceHandler::LayeredResourceHandler(
12 scoped_ptr<ResourceHandler> next_handler) 12 scoped_ptr<ResourceHandler> next_handler)
13 : next_handler_(next_handler.Pass()) { 13 : next_handler_(next_handler.Pass()) {
14 } 14 }
15 15
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } // namespace content 83 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/layered_resource_handler.h ('k') | content/browser/loader/redirect_to_file_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698