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

Side by Side Diff: content/public/child/request_peer.h

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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/resource_response.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ 5 #ifndef CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_
6 #define CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ 6 #define CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Called when metadata generated by the renderer is retrieved from the 95 // Called when metadata generated by the renderer is retrieved from the
96 // cache. This method may be called zero or one times. 96 // cache. This method may be called zero or one times.
97 virtual void OnReceivedCachedMetadata(const char* data, int len) {} 97 virtual void OnReceivedCachedMetadata(const char* data, int len) {}
98 98
99 // Called when the response is complete. This method signals completion of 99 // Called when the response is complete. This method signals completion of
100 // the resource load. 100 // the resource load.
101 virtual void OnCompletedRequest(int error_code, 101 virtual void OnCompletedRequest(int error_code,
102 bool was_ignored_by_handler, 102 bool was_ignored_by_handler,
103 bool stale_copy_in_cache, 103 bool stale_copy_in_cache,
104 const std::string& security_info,
105 const base::TimeTicks& completion_time, 104 const base::TimeTicks& completion_time,
106 int64_t total_transfer_size) = 0; 105 int64_t total_transfer_size) = 0;
107 106
108 virtual ~RequestPeer() {} 107 virtual ~RequestPeer() {}
109 }; 108 };
110 109
111 } // namespace content 110 } // namespace content
112 111
113 #endif // CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_ 112 #endif // CONTENT_PUBLIC_CHILD_REQUEST_PEER_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/resource_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698