summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.cc2
-rw-r--r--net/url_request/url_request_http_job.cc2
2 files changed, 0 insertions, 4 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index fe936a44..07af22f 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -415,8 +415,6 @@ void URLRequest::BeforeRequestComplete(int error) {
net_log_.EndEvent(NetLog::TYPE_URL_REQUEST_BLOCKED_ON_DELEGATE, NULL);
if (error != OK) {
- // TODO(battre): Allow passing information of the extension that canceled
- // the event.
net_log_.AddEvent(NetLog::TYPE_CANCELLED,
make_scoped_refptr(new NetLogStringParameter("source", "delegate")));
StartJob(new URLRequestErrorJob(this, error));
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 11ea297..af6c9c0 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -366,8 +366,6 @@ void URLRequestHttpJob::NotifyBeforeSendHeadersCallback(int result) {
if (result == OK) {
StartTransactionInternal();
} else {
- // TODO(battre): Allow passing information of the extension that canceled
- // the event.
request_->net_log().AddEvent(NetLog::TYPE_CANCELLED,
make_scoped_refptr(new NetLogStringParameter("source", "delegate")));
NotifyCanceled();