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

Side by Side Diff: net/tools/quic/quic_client_session.cc

Issue 13741012: Moving net/tools/quic code to net::tools namspace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « net/tools/quic/quic_client_session.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tools/quic/quic_client_session.h" 5 #include "net/tools/quic/quic_client_session.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/crypto/crypto_protocol.h" 8 #include "net/quic/crypto/crypto_protocol.h"
9 #include "net/tools/quic/quic_reliable_client_stream.h" 9 #include "net/tools/quic/quic_reliable_client_stream.h"
10 #include "net/tools/quic/quic_spdy_client_stream.h" 10 #include "net/tools/quic/quic_spdy_client_stream.h"
11 11
12 using std::string; 12 using std::string;
13 13
14 namespace net { 14 namespace net {
15 15 namespace tools {
16 class QuicConnection;
17 class ReliableQuicStream;
18 16
19 QuicClientSession::QuicClientSession( 17 QuicClientSession::QuicClientSession(
20 const string& server_hostname, 18 const string& server_hostname,
21 QuicConnection* connection) 19 QuicConnection* connection)
22 : QuicSession(connection, false), 20 : QuicSession(connection, false),
23 crypto_stream_(this, server_hostname) { 21 crypto_stream_(this, server_hostname) {
24 } 22 }
25 23
26 QuicClientSession::~QuicClientSession() { 24 QuicClientSession::~QuicClientSession() {
27 } 25 }
(...skipping 26 matching lines...) Expand all
54 bool QuicClientSession::CryptoConnect() { 52 bool QuicClientSession::CryptoConnect() {
55 return crypto_stream_.CryptoConnect(); 53 return crypto_stream_.CryptoConnect();
56 } 54 }
57 55
58 ReliableQuicStream* QuicClientSession::CreateIncomingReliableStream( 56 ReliableQuicStream* QuicClientSession::CreateIncomingReliableStream(
59 QuicStreamId id) { 57 QuicStreamId id) {
60 DLOG(ERROR) << "Server push not supported"; 58 DLOG(ERROR) << "Server push not supported";
61 return NULL; 59 return NULL;
62 } 60 }
63 61
62 } // namespace tools
64 } // namespace net 63 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_session.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698