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

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

Issue 12243002: Pass WebKit priority changes and parsing messages up to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698