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

Unified Diff: net/quic/test_tools/quic_session_peer.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | net/quic/test_tools/quic_stream_sequencer_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_session_peer.cc
diff --git a/net/quic/test_tools/quic_session_peer.cc b/net/quic/test_tools/quic_session_peer.cc
deleted file mode 100644
index 7dd7b66df9d5dbe25898c54ecf0ab7c07e10807e..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/quic_session_peer.cc
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/quic/test_tools/quic_session_peer.h"
-
-#include "net/quic/quic_session.h"
-#include "net/quic/reliable_quic_stream.h"
-
-using std::map;
-
-namespace net {
-namespace test {
-
-// static
-void QuicSessionPeer::SetNextStreamId(QuicSession* session, QuicStreamId id) {
- session->next_stream_id_ = id;
-}
-
-// static
-void QuicSessionPeer::SetMaxOpenStreams(QuicSession* session,
- uint32 max_streams) {
- session->max_open_streams_ = max_streams;
-}
-
-// static
-QuicCryptoStream* QuicSessionPeer::GetCryptoStream(QuicSession* session) {
- return session->GetCryptoStream();
-}
-
-// static
-QuicHeadersStream* QuicSessionPeer::GetHeadersStream(QuicSession* session) {
- return session->headers_stream_.get();
-}
-
-// static
-void QuicSessionPeer::SetHeadersStream(QuicSession* session,
- QuicHeadersStream* headers_stream) {
- session->headers_stream_.reset(headers_stream);
-}
-
-// static
-QuicWriteBlockedList* QuicSessionPeer::GetWriteBlockedStreams(
- QuicSession* session) {
- return &session->write_blocked_streams_;
-}
-
-// static
-QuicDataStream* QuicSessionPeer::GetIncomingDataStream(
- QuicSession* session,
- QuicStreamId stream_id) {
- return session->GetIncomingDataStream(stream_id);
-}
-
-// static
-map<QuicStreamId, QuicStreamOffset>&
-QuicSessionPeer::GetLocallyClosedStreamsHighestOffset(QuicSession* session) {
- return session->locally_closed_streams_highest_offset_;
-}
-
-} // namespace test
-} // namespace net
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | net/quic/test_tools/quic_stream_sequencer_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698