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

Side by Side Diff: net/http/http_stream_factory_impl_request.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/http/http_stream_factory_impl_request.h" 5 #include "net/http/http_stream_factory_impl_request.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "net/http/http_stream_factory_impl_job.h" 9 #include "net/http/http_stream_factory_impl_job.h"
10 #include "net/spdy/spdy_http_stream.h" 10 #include "net/spdy/spdy_http_stream.h"
11 #include "net/spdy/spdy_session.h" 11 #include "net/spdy/spdy_session.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 HttpStreamFactoryImpl::Request::Request(const GURL& url, 15 HttpStreamFactoryImpl::Request::Request(const GURL& url,
16 HttpStreamFactoryImpl* factory, 16 HttpStreamFactoryImpl* factory,
17 HttpStreamRequest::Delegate* delegate, 17 HttpStreamRequest::Delegate* delegate,
18 const BoundNetLog& net_log) 18 const BoundNetLog& net_log)
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 RemoveRequestFromSpdySessionRequestMap(); 280 RemoveRequestFromSpdySessionRequestMap();
281 281
282 std::set<Job*> tmp; 282 std::set<Job*> tmp;
283 tmp.swap(jobs_); 283 tmp.swap(jobs_);
284 284
285 for (std::set<Job*>::iterator it = tmp.begin(); it != tmp.end(); ++it) 285 for (std::set<Job*>::iterator it = tmp.begin(); it != tmp.end(); ++it)
286 factory_->OrphanJob(*it, this); 286 factory_->OrphanJob(*it, this);
287 } 287 }
288 288
289 } // namespace net 289 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698