summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 05:41:39 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 05:41:39 +0000
commit04247de93ed105d208bc96fcadb8dba883e982a4 (patch)
treea1a5ce3f77b5444fe82fc14482f1a186a55d2e04 /net
parenta52c6ffa080dbada2e499156b0dacfde48c22031 (diff)
downloadchromium_src-04247de93ed105d208bc96fcadb8dba883e982a4.zip
chromium_src-04247de93ed105d208bc96fcadb8dba883e982a4.tar.gz
chromium_src-04247de93ed105d208bc96fcadb8dba883e982a4.tar.bz2
URLRequest - return LOAD_STATE_WAITING_FOR_DELEGATE even when we
don't know what delegate we're waiting on. R=avi@chromium.org, eroman@chromium.org Review URL: https://codereview.chromium.org/14933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index a72a86a..0713062 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -377,8 +377,7 @@ void URLRequest::SetExtraRequestHeaders(
}
LoadStateWithParam URLRequest::GetLoadState() const {
- // Only return LOAD_STATE_WAITING_FOR_DELEGATE if there's a load state param.
- if (blocked_on_delegate_ && !load_state_param_.empty()) {
+ if (blocked_on_delegate_) {
return LoadStateWithParam(LOAD_STATE_WAITING_FOR_DELEGATE,
load_state_param_);
}