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

Unified Diff: webkit/glue/resource_handle_impl.cc

Issue 7276: Adding security info to canceled requests (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/resource_handle_impl.cc
===================================================================
--- webkit/glue/resource_handle_impl.cc (revision 9948)
+++ webkit/glue/resource_handle_impl.cc (working copy)
@@ -226,7 +226,8 @@
const ResourceLoaderBridge::ResponseInfo& info,
bool content_filtered);
virtual void OnReceivedData(const char* data, int len);
- virtual void OnCompletedRequest(const URLRequestStatus& status);
+ virtual void OnCompletedRequest(const URLRequestStatus& status,
+ const std::string& security_info);
virtual std::string GetURLForDebugging();
// Handles a data: url internally instead of calling the bridge.
@@ -298,7 +299,7 @@
OnReceivedData(data.c_str(), data.size());
}
- OnCompletedRequest(status);
+ OnCompletedRequest(status, info.security_info);
// We are done using the object. ResourceHandle and ResourceHandleInternal
// might be destroyed now.
@@ -603,7 +604,8 @@
}
void ResourceHandleInternal::OnCompletedRequest(
- const URLRequestStatus& status) {
+ const URLRequestStatus& status,
+ const std::string& security_info) {
darin (slow to review) 2009/03/04 19:29:01 i don't see us doing anything with this security_i
jcampan 2009/03/04 22:33:43 It's now part of the peer interface. the security
if (multipart_delegate_.get()) {
multipart_delegate_->OnCompletedRequest();
multipart_delegate_.reset(NULL);

Powered by Google App Engine
This is Rietveld 408576698