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

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

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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
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 <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return next_handler_->OnWillRead(buf, buf_size, min_size); 56 return next_handler_->OnWillRead(buf, buf_size, min_size);
57 } 57 }
58 58
59 bool LayeredResourceHandler::OnReadCompleted(int bytes_read, bool* defer) { 59 bool LayeredResourceHandler::OnReadCompleted(int bytes_read, bool* defer) {
60 DCHECK(next_handler_.get()); 60 DCHECK(next_handler_.get());
61 return next_handler_->OnReadCompleted(bytes_read, defer); 61 return next_handler_->OnReadCompleted(bytes_read, defer);
62 } 62 }
63 63
64 void LayeredResourceHandler::OnResponseCompleted( 64 void LayeredResourceHandler::OnResponseCompleted(
65 const net::URLRequestStatus& status, 65 const net::URLRequestStatus& status,
66 const std::string& security_info,
67 bool* defer) { 66 bool* defer) {
68 DCHECK(next_handler_.get()); 67 DCHECK(next_handler_.get());
69 next_handler_->OnResponseCompleted(status, security_info, defer); 68 next_handler_->OnResponseCompleted(status, defer);
70 } 69 }
71 70
72 void LayeredResourceHandler::OnDataDownloaded(int bytes_downloaded) { 71 void LayeredResourceHandler::OnDataDownloaded(int bytes_downloaded) {
73 DCHECK(next_handler_.get()); 72 DCHECK(next_handler_.get());
74 next_handler_->OnDataDownloaded(bytes_downloaded); 73 next_handler_->OnDataDownloaded(bytes_downloaded);
75 } 74 }
76 75
77 } // namespace content 76 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/layered_resource_handler.h ('k') | content/browser/loader/mime_sniffing_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698