diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 22:01:30 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 22:01:30 +0000 |
commit | a9bd72a75a6702df07087bf77049735a45a8861e (patch) | |
tree | 5fb257027218c5ddf8e95bcfd4941b523a93d9e8 /net/url_request/url_request_context.h | |
parent | d9ca776c4b5443df5ffa55d53735016cfa92cb11 (diff) | |
download | chromium_src-a9bd72a75a6702df07087bf77049735a45a8861e.zip chromium_src-a9bd72a75a6702df07087bf77049735a45a8861e.tar.gz chromium_src-a9bd72a75a6702df07087bf77049735a45a8861e.tar.bz2 |
First steps towards webRequest extension API.
Only an asynchronous version of onBeforeRequest is implement, with
limited data being passed.
BUG=60101
TEST=no
Review URL: http://codereview.chromium.org/6288014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_context.h')
-rw-r--r-- | net/url_request/url_request_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h index 2c737ca..18315dc 100644 --- a/net/url_request/url_request_context.h +++ b/net/url_request/url_request_context.h @@ -115,6 +115,11 @@ class URLRequestContext return ftp_transaction_factory_; } + void set_network_delegate(HttpNetworkDelegate* network_delegate) { + network_delegate_ = network_delegate; + } + HttpNetworkDelegate* network_delegate() { return network_delegate_; } + // Gets the cookie store for this context (may be null, in which case // cookies are not stored). CookieStore* cookie_store() { return cookie_store_.get(); } |