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

Side by Side Diff: net/quic/test_tools/quic_session_peer.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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/test_tools/quic_session_peer.h" 5 #include "net/quic/test_tools/quic_session_peer.h"
6 6
7 #include <map>
8
7 #include "net/quic/quic_session.h" 9 #include "net/quic/quic_session.h"
8 #include "net/quic/reliable_quic_stream.h" 10 #include "net/quic/reliable_quic_stream.h"
9 11
10 namespace net { 12 namespace net {
11 namespace test { 13 namespace test {
12 14
13 // static 15 // static
14 void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) { 16 void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) {
15 session->next_stream_id_ = id; 17 session->next_stream_id_ = id;
16 } 18 }
(...skipping 27 matching lines...) Expand all
44 } 46 }
45 47
46 // static 48 // static
47 QuicDataStream* QuicSessionPeer::GetIncomingDataStream( 49 QuicDataStream* QuicSessionPeer::GetIncomingDataStream(
48 QuicSession* session, 50 QuicSession* session,
49 QuicStreamId stream_id) { 51 QuicStreamId stream_id) {
50 return session->GetIncomingDataStream(stream_id); 52 return session->GetIncomingDataStream(stream_id);
51 } 53 }
52 54
53 // static 55 // static
54 map<QuicStreamId, QuicStreamOffset>& 56 std::map<QuicStreamId, QuicStreamOffset>&
55 QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(QuicSession* session) { 57 QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(QuicSession* session) {
56 return session->locally_closed_streams_highest_offset_; 58 return session->locally_closed_streams_highest_offset_;
57 } 59 }
58 60
59 } // namespace test 61 } // namespace test
60 } // namespace net 62 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698