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

Side by Side Diff: net/quic/quic_stream_factory.cc

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/quic/quic_stream_factory.h" 5 #include "net/quic/quic_stream_factory.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop_proxy.h"
11 #include "base/rand_util.h" 11 #include "base/rand_util.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "net/base/host_resolver.h"
15 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
16 #include "net/base/single_request_host_resolver.h" 15 #include "net/dns/host_resolver.h"
16 #include "net/dns/single_request_host_resolver.h"
17 #include "net/quic/crypto/quic_random.h" 17 #include "net/quic/crypto/quic_random.h"
18 #include "net/quic/quic_client_session.h" 18 #include "net/quic/quic_client_session.h"
19 #include "net/quic/quic_clock.h" 19 #include "net/quic/quic_clock.h"
20 #include "net/quic/quic_connection.h" 20 #include "net/quic/quic_connection.h"
21 #include "net/quic/quic_connection_helper.h" 21 #include "net/quic/quic_connection_helper.h"
22 #include "net/quic/quic_http_stream.h" 22 #include "net/quic/quic_http_stream.h"
23 #include "net/quic/quic_protocol.h" 23 #include "net/quic/quic_protocol.h"
24 #include "net/socket/client_socket_factory.h" 24 #include "net/socket/client_socket_factory.h"
25 25
26 namespace net { 26 namespace net {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 void QuicStreamFactory::ActivateSession( 388 void QuicStreamFactory::ActivateSession(
389 const HostPortProxyPair& host_port_proxy_pair, 389 const HostPortProxyPair& host_port_proxy_pair,
390 QuicClientSession* session) { 390 QuicClientSession* session) {
391 DCHECK(!HasActiveSession(host_port_proxy_pair)); 391 DCHECK(!HasActiveSession(host_port_proxy_pair));
392 active_sessions_[host_port_proxy_pair] = session; 392 active_sessions_[host_port_proxy_pair] = session;
393 session_aliases_[session].insert(host_port_proxy_pair); 393 session_aliases_[session].insert(host_port_proxy_pair);
394 } 394 }
395 395
396 396
397 } // namespace net 397 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698