summaryrefslogtreecommitdiffstats
path: root/net/base/network_delegate.cc
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-23 13:28:16 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-23 13:28:16 +0000
commit4894438bb73e0a3c22fec3f36204b1f97b8cb104 (patch)
tree7198dcfb7d931648b77ed64ab8de663223b57d4f /net/base/network_delegate.cc
parentd347fa255cdc8b7b0893485285d97492ab1a5d07 (diff)
downloadchromium_src-4894438bb73e0a3c22fec3f36204b1f97b8cb104.zip
chromium_src-4894438bb73e0a3c22fec3f36204b1f97b8cb104.tar.gz
chromium_src-4894438bb73e0a3c22fec3f36204b1f97b8cb104.tar.bz2
Implemented chrome.experimental.webRequest.onCompleted
BUG=60101 TEST=run browser_tests Review URL: http://codereview.chromium.org/6883119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/network_delegate.cc')
-rw-r--r--net/base/network_delegate.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index bb176c1..3062c7b 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -46,11 +46,10 @@ void NetworkDelegate::NotifyBeforeRedirect(URLRequest* request,
OnBeforeRedirect(request, new_location);
}
-
-void NetworkDelegate::NotifyReadCompleted(URLRequest* request, int bytes_read) {
+void NetworkDelegate::NotifyCompleted(URLRequest* request) {
DCHECK(CalledOnValidThread());
DCHECK(request);
- OnReadCompleted(request, bytes_read);
+ OnCompleted(request);
}
void NetworkDelegate::NotifyURLRequestDestroyed(URLRequest* request) {