summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_network_delegate.h
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-27 23:11:34 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-27 23:11:34 +0000
commit5aa2013cf0fd9c0bb03eb2a1de01774bf2848c38 (patch)
tree2415e8c89e7da63f7834d9ddfaa7adfbcabe54ee /chrome/browser/net/chrome_network_delegate.h
parentedd91a9b18019e2ea6159cf43b6e0fb0fdc13fbc (diff)
downloadchromium_src-5aa2013cf0fd9c0bb03eb2a1de01774bf2848c38.zip
chromium_src-5aa2013cf0fd9c0bb03eb2a1de01774bf2848c38.tar.gz
chromium_src-5aa2013cf0fd9c0bb03eb2a1de01774bf2848c38.tar.bz2
Flesh out the onBeforeSendHeaders event a bit more. We now send the
requestHeaders and allow the extension to modify them. I also changed the network delegate callbacks, so that they accept arguments beyond just a status code, and they do not outlive the object they are bound to. BUG=60101 TEST=automated Review URL: http://codereview.chromium.org/6899001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/chrome_network_delegate.h')
-rw-r--r--chrome/browser/net/chrome_network_delegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index b35323b..4edc01a 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -52,6 +52,7 @@ class ChromeNetworkDelegate : public net::NetworkDelegate {
virtual void OnResponseStarted(net::URLRequest* request);
virtual void OnCompleted(net::URLRequest* request);
virtual void OnURLRequestDestroyed(net::URLRequest* request);
+ virtual void OnHttpTransactionDestroyed(uint64 request_id);
virtual net::URLRequestJob* OnMaybeCreateURLRequestJob(
net::URLRequest* request);