Chromium Code Reviews| Index: net/http/http_stream_factory_impl_request.cc |
| diff --git a/net/http/http_stream_factory_impl_request.cc b/net/http/http_stream_factory_impl_request.cc |
| index c8924d25ad962f5ad064b57a1a6c4fb2e95d08e0..fbd79942afd89b272113f7c489c622f9c38e2137 100644 |
| --- a/net/http/http_stream_factory_impl_request.cc |
| +++ b/net/http/http_stream_factory_impl_request.cc |
| @@ -54,7 +54,7 @@ HttpStreamFactoryImpl::Request::~Request() { |
| void HttpStreamFactoryImpl::Request::SetSpdySessionKey( |
| const SpdySessionKey& spdy_session_key) { |
| - DCHECK(!spdy_session_key_.get()); |
| + CHECK(!spdy_session_key_.get()); |
|
Ryan Hamilton
2014/06/18 19:04:45
Is this DCHECK -> CHECK change temporary? If not,
Johnny
2014/06/18 19:13:20
Not temporary. Switched to CHECK because we'd rath
|
| spdy_session_key_.reset(new SpdySessionKey(spdy_session_key)); |
| RequestSet& request_set = |
| factory_->spdy_session_request_map_[spdy_session_key]; |
| @@ -250,6 +250,10 @@ HttpStreamFactoryImpl::Request::RemoveRequestFromSpdySessionRequestMap() { |
| } |
| } |
| +bool HttpStreamFactoryImpl::Request::HasSpdySessionKey() const { |
| + return spdy_session_key_.get(); |
| +} |
| + |
| // TODO(jgraettinger): Currently, HttpStreamFactoryImpl::Job notifies a |
| // Request that the session is ready, which in turn notifies it's delegate, |
| // and then it notifies HttpStreamFactoryImpl so that /other/ requests may |