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

Unified Diff: net/quic/test_tools/reliable_quic_stream_peer.h

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: Created 4 years, 1 month 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_test_utils.cc ('k') | net/quic/test_tools/reliable_quic_stream_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/reliable_quic_stream_peer.h
diff --git a/net/quic/test_tools/reliable_quic_stream_peer.h b/net/quic/test_tools/reliable_quic_stream_peer.h
deleted file mode 100644
index 522049e09fa645c69400612b8dd296db46f3fd81..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/reliable_quic_stream_peer.h
+++ /dev/null
@@ -1,57 +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.
-
-#ifndef NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
-#define NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "base/strings/string_piece.h"
-#include "net/quic/core/quic_protocol.h"
-#include "net/quic/core/quic_stream_sequencer.h"
-
-namespace net {
-
-class ReliableQuicStream;
-
-namespace test {
-
-class ReliableQuicStreamPeer {
- public:
- static void SetWriteSideClosed(bool value, ReliableQuicStream* stream);
- static void SetStreamBytesWritten(QuicStreamOffset stream_bytes_written,
- ReliableQuicStream* stream);
- static bool read_side_closed(ReliableQuicStream* stream);
- static void CloseReadSide(ReliableQuicStream* stream);
-
- static bool FinSent(ReliableQuicStream* stream);
- static bool FinReceived(ReliableQuicStream* stream);
- static bool RstSent(ReliableQuicStream* stream);
- static bool RstReceived(ReliableQuicStream* stream);
-
- static bool ReadSideClosed(ReliableQuicStream* stream);
- static bool WriteSideClosed(ReliableQuicStream* stream);
-
- static uint32_t SizeOfQueuedData(ReliableQuicStream* stream);
-
- static bool StreamContributesToConnectionFlowControl(
- ReliableQuicStream* stream);
-
- static void WriteOrBufferData(
- ReliableQuicStream* stream,
- base::StringPiece data,
- bool fin,
- QuicAckListenerInterface* ack_notifier_delegate);
-
- static net::QuicStreamSequencer* sequencer(ReliableQuicStream* stream);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer);
-};
-
-} // namespace test
-} // namespace net
-
-#endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/quic/test_tools/reliable_quic_stream_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698