summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_loader_bridge.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 00:19:38 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 00:19:38 +0000
commit88e7d5688f95703ac9a6ddac4752098c407223e5 (patch)
tree9e10232d9348bf1e3c2f739cacfb06669dfdef64 /webkit/glue/resource_loader_bridge.h
parenta5ded246b87ab09ebcf770ffc5c157fb4efaddac (diff)
downloadchromium_src-88e7d5688f95703ac9a6ddac4752098c407223e5.zip
chromium_src-88e7d5688f95703ac9a6ddac4752098c407223e5.tar.gz
chromium_src-88e7d5688f95703ac9a6ddac4752098c407223e5.tar.bz2
This CL adds a way to specify the security info when canceling a URLRequest.
This allows to tag a request on the renderer side with its security info. It is useful for the "frame info" dialog. When showing that dialog for blocked frames, the security info can be retrieved and users can see the cert details for the blocked frame. TEST=Open a page containing a frame served over bad HTTPS. The frame is blocked (replaced with a warning message). Right-click, select "Frame info". The dialog should have a "show cert" button which when pressed should show the frame's bad cert. BUG=2853 Review URL: http://codereview.chromium.org/7276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_loader_bridge.h')
-rw-r--r--webkit/glue/resource_loader_bridge.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index 948bc74..d5ca181 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -111,7 +111,8 @@ class ResourceLoaderBridge {
// Called when the response is complete. This method signals completion of
// the resource load.ff
- virtual void OnCompletedRequest(const URLRequestStatus& status) = 0;
+ virtual void OnCompletedRequest(const URLRequestStatus& status,
+ const std::string& security_info) = 0;
// Returns the URL of the request, which allows us to display it in
// debugging situations.