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

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

Issue 1142523004: Custom hosts in QuicTestPacketMaker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use constant instead of literal. Created 5 years, 7 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
Index: net/quic/test_tools/quic_test_packet_maker.h
diff --git a/net/quic/test_tools/quic_test_packet_maker.h b/net/quic/test_tools/quic_test_packet_maker.h
index 6a75e7cf8d4ab0205871432b8d912276d93699dd..c19333e39f32cf9bbe50b27eb3ee867d30a7e930 100644
--- a/net/quic/test_tools/quic_test_packet_maker.h
+++ b/net/quic/test_tools/quic_test_packet_maker.h
@@ -22,7 +22,8 @@ class QuicTestPacketMaker {
public:
QuicTestPacketMaker(QuicVersion version,
QuicConnectionId connection_id,
- MockClock* clock);
+ MockClock* clock,
+ const std::string& host);
~QuicTestPacketMaker();
scoped_ptr<QuicEncryptedPacket> MakeRstPacket(
@@ -82,6 +83,7 @@ class QuicTestPacketMaker {
QuicVersion version_;
QuicConnectionId connection_id_;
MockClock* clock_; // Owned by QuicStreamFactory.
+ const std::string host_;
SpdyFramer spdy_request_framer_;
SpdyFramer spdy_response_framer_;
MockRandom random_generator_;

Powered by Google App Engine
This is Rietveld 408576698