Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: net/url_request/url_request_http_job.cc

Issue 7523042: Add a status message "Waiting for extension Foo..." when there's a request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/url_request/url_request.h ('K') | « net/url_request/url_request.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index af6c9c027a7196fc6d8a5d22ca86627817aa57f1..c01e68d615b0c2b7701b6ac8193e010f815d4ac0 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -351,8 +351,7 @@ void URLRequestHttpJob::StartTransaction() {
// If an extension blocks the request, we rely on the callback to
// StartTransactionInternal().
if (rv == ERR_IO_PENDING) {
- request_->net_log().BeginEvent(
- NetLog::TYPE_URL_REQUEST_BLOCKED_ON_DELEGATE, NULL);
+ request_->SetBlockedOnDelegate();
return;
}
}
@@ -360,8 +359,7 @@ void URLRequestHttpJob::StartTransaction() {
}
void URLRequestHttpJob::NotifyBeforeSendHeadersCallback(int result) {
- request_->net_log().EndEvent(
- NetLog::TYPE_URL_REQUEST_BLOCKED_ON_DELEGATE, NULL);
+ request_->SetUnblockedOnDelegate();
if (result == OK) {
StartTransactionInternal();
« net/url_request/url_request.h ('K') | « net/url_request/url_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698