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

Side by Side Diff: net/tools/quic/quic_server_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_server_session.h ('k') | net/tools/quic/quic_socket_utils.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_server_session.h" 5 #include "net/tools/quic/quic_server_session.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/reliable_quic_stream.h" 8 #include "net/quic/reliable_quic_stream.h"
9 #include "net/tools/quic/quic_spdy_server_stream.h" 9 #include "net/tools/quic/quic_spdy_server_stream.h"
10 10
11 namespace net { 11 namespace net {
12 namespace tools {
12 13
13 QuicServerSession::QuicServerSession(QuicConnection* connection, 14 QuicServerSession::QuicServerSession(QuicConnection* connection,
14 QuicSessionOwner* owner) 15 QuicSessionOwner* owner)
15 : QuicSession(connection, true), 16 : QuicSession(connection, true),
16 crypto_stream_(this), 17 crypto_stream_(this),
17 owner_(owner) { 18 owner_(owner) {
18 } 19 }
19 20
20 QuicServerSession::~QuicServerSession() { 21 QuicServerSession::~QuicServerSession() {
21 } 22 }
(...skipping 29 matching lines...) Expand all
51 52
52 ReliableQuicStream* QuicServerSession::CreateOutgoingReliableStream() { 53 ReliableQuicStream* QuicServerSession::CreateOutgoingReliableStream() {
53 DLOG(ERROR) << "Server push not yet supported"; 54 DLOG(ERROR) << "Server push not yet supported";
54 return NULL; 55 return NULL;
55 } 56 }
56 57
57 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { 58 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() {
58 return &crypto_stream_; 59 return &crypto_stream_;
59 } 60 }
60 61
62 } // namespace tools
61 } // namespace net 63 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server_session.h ('k') | net/tools/quic/quic_socket_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698