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-02-01 21:38:16 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 21:38:16 +0000
commitd05ef99c71c3d4db779be737102807cbab88ca45 (patch)
treeb64aa3b5117ecce666372bbc77b6558984194bfa /chrome/browser/net/chrome_network_delegate.h
parent1e1a3ce6a6e266ce93b78fa3c0534aec3db3e2c3 (diff)
downloadchromium_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 'chrome/browser/net/chrome_network_delegate.h')
-rw-r--r--chrome/browser/net/chrome_network_delegate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index 55336d6..8bff160 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -10,15 +10,14 @@
#include "net/http/http_network_delegate.h"
// ChromeNetworkDelegate is the central point from within the chrome code to
-// add hooks into the network stack. In the future, we can use this for
-// extensions to register hooks for the network stack.
+// add hooks into the network stack.
class ChromeNetworkDelegate : public net::HttpNetworkDelegate {
public:
ChromeNetworkDelegate();
~ChromeNetworkDelegate();
// net::HttpNetworkDelegate methods:
-
+ virtual void OnBeforeURLRequest(net::URLRequest* request);
virtual void OnSendHttpRequest(net::HttpRequestHeaders* headers);
// TODO(willchan): Add functions for consumers to register ways to