| Index: net/quic/test_tools/quic_test_packet_maker.cc
|
| diff --git a/net/quic/test_tools/quic_test_packet_maker.cc b/net/quic/test_tools/quic_test_packet_maker.cc
|
| index cd0ac58d5bdff89c2e821aba1f02298c1fad1692..5a9fcc8269f7a26c4d7efe4a226348b38c969723 100644
|
| --- a/net/quic/test_tools/quic_test_packet_maker.cc
|
| +++ b/net/quic/test_tools/quic_test_packet_maker.cc
|
| @@ -18,10 +18,12 @@ namespace test {
|
|
|
| QuicTestPacketMaker::QuicTestPacketMaker(QuicVersion version,
|
| QuicConnectionId connection_id,
|
| - MockClock* clock)
|
| + MockClock* clock,
|
| + const std::string& host)
|
| : version_(version),
|
| connection_id_(connection_id),
|
| clock_(clock),
|
| + host_(host),
|
| spdy_request_framer_(SPDY4),
|
| spdy_response_framer_(SPDY4) {
|
| }
|
| @@ -226,9 +228,9 @@ SpdyHeaderBlock QuicTestPacketMaker::GetRequestHeaders(
|
| SpdyHeaderBlock headers;
|
| headers[":method"] = method;
|
| if (version_ <= QUIC_VERSION_24) {
|
| - headers[":host"] = "www.google.com";
|
| + headers[":host"] = host_;
|
| } else {
|
| - headers[":authority"] = "www.google.com";
|
| + headers[":authority"] = host_;
|
| }
|
| headers[":path"] = path;
|
| headers[":scheme"] = scheme;
|
|
|