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

Side by Side Diff: content/browser/loader/stream_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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/stream_resource_handler.h" 5 #include "content/browser/loader/stream_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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 return true; 46 return true;
47 } 47 }
48 48
49 bool StreamResourceHandler::OnReadCompleted(int bytes_read, bool* defer) { 49 bool StreamResourceHandler::OnReadCompleted(int bytes_read, bool* defer) {
50 writer_.OnReadCompleted(bytes_read, defer); 50 writer_.OnReadCompleted(bytes_read, defer);
51 return true; 51 return true;
52 } 52 }
53 53
54 void StreamResourceHandler::OnResponseCompleted( 54 void StreamResourceHandler::OnResponseCompleted(
55 const net::URLRequestStatus& status, 55 const net::URLRequestStatus& status,
56 const std::string& sec_info,
57 bool* defer) { 56 bool* defer) {
58 writer_.Finalize(); 57 writer_.Finalize();
59 } 58 }
60 59
61 void StreamResourceHandler::OnDataDownloaded(int bytes_downloaded) { 60 void StreamResourceHandler::OnDataDownloaded(int bytes_downloaded) {
62 NOTREACHED(); 61 NOTREACHED();
63 } 62 }
64 63
65 } // namespace content 64 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/stream_resource_handler.h ('k') | content/browser/loader/sync_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698