summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/resource_handler.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-08 07:41:31 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-08 07:41:31 +0000
commitc4891b363f7d9ca534880d25524adeb810ff3ff0 (patch)
tree8af2885644966f047a688b66cd2d16f9db1afd9c /chrome/browser/renderer_host/resource_handler.h
parentb0c819facfd2222853b1fe69a2e0891e17db6791 (diff)
downloadchromium_src-c4891b363f7d9ca534880d25524adeb810ff3ff0.zip
chromium_src-c4891b363f7d9ca534880d25524adeb810ff3ff0.tar.gz
chromium_src-c4891b363f7d9ca534880d25524adeb810ff3ff0.tar.bz2
Landing again the CL that adds security info to canceled requests (last time it was causing sync XMLHttpRequests to hang, breaking many layout tests).
TBR=darin Review URL: http://codereview.chromium.org/39321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/resource_handler.h')
-rw-r--r--chrome/browser/renderer_host/resource_handler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/resource_handler.h b/chrome/browser/renderer_host/resource_handler.h
index 01abcb5..2b843f9 100644
--- a/chrome/browser/renderer_host/resource_handler.h
+++ b/chrome/browser/renderer_host/resource_handler.h
@@ -12,6 +12,8 @@
#ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
#define CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_
+#include <string>
+
#include "chrome/common/filter_policy.h"
#include "net/url_request/url_request_status.h"
#include "webkit/glue/resource_loader_bridge.h"
@@ -83,7 +85,8 @@ class ResourceHandler : public base::RefCounted<ResourceHandler> {
// The response is complete. The final response status is given.
// Returns false if the handler is deferring the call to a later time.
virtual bool OnResponseCompleted(int request_id,
- const URLRequestStatus& status) = 0;
+ const URLRequestStatus& status,
+ const std::string& security_info) = 0;
};
#endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_HANDLER_H_