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

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

Issue 2607873002: QUIC - refactor in preparation for two streams per HTTP transaction. (Closed)
Patch Set: Fixed namespaces and formatting. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/quic_headers_stream_peer.cc ('k') | net/quic/test_tools/quic_spdy_session_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_spdy_session_peer.h
diff --git a/net/quic/test_tools/quic_spdy_session_peer.h b/net/quic/test_tools/quic_spdy_session_peer.h
index 238ba1bbdd7ad11bb787540404cb4e4f68a51d15..f06d579f34641fd4c700c9af5018ea04f312a8ef 100644
--- a/net/quic/test_tools/quic_spdy_session_peer.h
+++ b/net/quic/test_tools/quic_spdy_session_peer.h
@@ -8,11 +8,13 @@
#include "base/macros.h"
#include "net/quic/core/quic_packets.h"
#include "net/quic/core/quic_write_blocked_list.h"
+#include "net/spdy/spdy_framer.h"
namespace net {
class QuicHeadersStream;
class QuicSpdySession;
+class QuicHpackDebugVisitor;
namespace test {
@@ -22,6 +24,23 @@ class QuicSpdySessionPeer {
static void SetHeadersStream(QuicSpdySession* session,
QuicHeadersStream* headers_stream);
static void SetForceHolBlocking(QuicSpdySession* session, bool value);
+ static const SpdyFramer& GetSpdyFramer(QuicSpdySession* session);
+ static void SetHpackEncoderDebugVisitor(
+ QuicSpdySession* session,
+ std::unique_ptr<QuicHpackDebugVisitor> visitor);
+ static void SetHpackDecoderDebugVisitor(
+ QuicSpdySession* session,
+ std::unique_ptr<QuicHpackDebugVisitor> visitor);
+ static void SetMaxUncompressedHeaderBytes(
+ QuicSpdySession* session,
+ size_t set_max_uncompressed_header_bytes);
+ static size_t WriteHeadersImpl(
+ QuicSpdySession* session,
+ QuicStreamId id,
+ SpdyHeaderBlock headers,
+ bool fin,
+ SpdyPriority priority,
+ QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener);
private:
DISALLOW_COPY_AND_ASSIGN(QuicSpdySessionPeer);
« no previous file with comments | « net/quic/test_tools/quic_headers_stream_peer.cc ('k') | net/quic/test_tools/quic_spdy_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698