summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_network_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/chrome_network_delegate.cc')
-rw-r--r--chrome/browser/net/chrome_network_delegate.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index 59fb2e6..8fa34b0 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -41,9 +41,10 @@ ChromeNetworkDelegate::ChromeNetworkDelegate(
ChromeNetworkDelegate::~ChromeNetworkDelegate() {}
-void ChromeNetworkDelegate::OnBeforeURLRequest(net::URLRequest* request) {
- ExtensionWebRequestEventRouter::GetInstance()->OnBeforeRequest(
- event_router_.get(), profile_id_, request->url(), request->method());
+bool ChromeNetworkDelegate::OnBeforeURLRequest(
+ net::URLRequest* request, net::CompletionCallback* callback) {
+ return ExtensionWebRequestEventRouter::GetInstance()->OnBeforeRequest(
+ profile_id_, event_router_.get(), request, callback);
}
void ChromeNetworkDelegate::OnSendHttpRequest(