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

Unified Diff: chrome/browser/renderer_host/cross_site_resource_handler.h

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: chrome/browser/renderer_host/cross_site_resource_handler.h
===================================================================
--- chrome/browser/renderer_host/cross_site_resource_handler.h (revision 9948)
+++ chrome/browser/renderer_host/cross_site_resource_handler.h (working copy)
@@ -27,7 +27,9 @@
bool OnWillRead(int request_id, net::IOBuffer** buf, int* buf_size,
int min_size);
bool OnReadCompleted(int request_id, int* bytes_read);
- bool OnResponseCompleted(int request_id, const URLRequestStatus& status);
+ bool OnResponseCompleted(int request_id,
+ const URLRequestStatus& status,
+ const std::string& security_info);
// We can now send the response to the new renderer, which will cause
// WebContents to swap in the new renderer and destroy the old one.
@@ -49,6 +51,7 @@
int request_id_;
bool completed_during_transition_;
URLRequestStatus completed_status_;
+ std::string completed_security_info_;
ResourceResponse* response_;
ResourceDispatcherHost* rdh_;

Powered by Google App Engine
This is Rietveld 408576698