diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 21:38:16 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-01 21:38:16 +0000 |
commit | d05ef99c71c3d4db779be737102807cbab88ca45 (patch) | |
tree | b64aa3b5117ecce666372bbc77b6558984194bfa /net/http | |
parent | 1e1a3ce6a6e266ce93b78fa3c0534aec3db3e2c3 (diff) | |
download | chromium_src-d05ef99c71c3d4db779be737102807cbab88ca45.zip chromium_src-d05ef99c71c3d4db779be737102807cbab88ca45.tar.gz chromium_src-d05ef99c71c3d4db779be737102807cbab88ca45.tar.bz2 |
Unreverting: First steps towards webRequest extension API.
Only an asynchronous version of onBeforeRequest is implement, with
limited data being passed.
Original CL: http://src.chromium.org/viewvc/chrome?view=rev&revision=73196
BUG=60101
TEST=no
Review URL: http://codereview.chromium.org/6246032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_network_delegate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_network_delegate.h b/net/http/http_network_delegate.h index 6b60aba..1533bc3 100644 --- a/net/http/http_network_delegate.h +++ b/net/http/http_network_delegate.h @@ -9,9 +9,13 @@ namespace net { class HttpRequestHeaders; +class URLRequest; class HttpNetworkDelegate { public: + // Called before a request is sent. + virtual void OnBeforeURLRequest(net::URLRequest* request) = 0; + // Called right before the HTTP headers are sent. Allows the delegate to // read/write |headers| before they get sent out. virtual void OnSendHttpRequest(HttpRequestHeaders* headers) = 0; |