summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_context.h
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 22:01:30 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 22:01:30 +0000
commita9bd72a75a6702df07087bf77049735a45a8861e (patch)
tree5fb257027218c5ddf8e95bcfd4941b523a93d9e8 /net/url_request/url_request_context.h
parentd9ca776c4b5443df5ffa55d53735016cfa92cb11 (diff)
downloadchromium_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.h5
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(); }