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

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

Issue 1692253004: QUIC - chromium server push support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback round 2. Created 4 years, 10 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_stream_factory_peer.h ('k') | net/spdy/spdy_http_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_stream_factory_peer.cc
diff --git a/net/quic/test_tools/quic_stream_factory_peer.cc b/net/quic/test_tools/quic_stream_factory_peer.cc
index 99c4ef3feba49b7daac020db1ca5f79749d9e907..094f51da3e01aad5faba2c76c3075394cee44767 100644
--- a/net/quic/test_tools/quic_stream_factory_peer.cc
+++ b/net/quic/test_tools/quic_stream_factory_peer.cc
@@ -161,5 +161,15 @@ void QuicStreamFactoryPeer::CacheDummyServerConfig(
clock.WallNow());
}
+QuicClientPushPromiseIndex* QuicStreamFactoryPeer::GetPushPromiseIndex(
+ QuicStreamFactory* factory) {
+ return &factory->push_promise_index_;
+}
+
+int QuicStreamFactoryPeer::GetNumPushStreamsCreated(
+ QuicStreamFactory* factory) {
+ return factory->num_push_streams_created_;
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.h ('k') | net/spdy/spdy_http_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698