| Index: net/http/http_network_transaction_unittest.cc
|
| diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
|
| index effbf45f68336b25db46dd05f6385c7aa0374ace..6918dbbc698e5f9d2b1a364f874b03e0a0695458 100644
|
| --- a/net/http/http_network_transaction_unittest.cc
|
| +++ b/net/http/http_network_transaction_unittest.cc
|
| @@ -5029,7 +5029,7 @@ TEST_F(HttpNetworkTransactionTest, HttpsProxySpdyConnectFailure) {
|
| SpdySerializedFrame connect(spdy_util_.ConstructSpdyConnect(
|
| NULL, 0, 1, LOWEST, HostPortPair("www.example.org", 443)));
|
| SpdySerializedFrame get(
|
| - spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
|
| + spdy_util_.ConstructSpdyRstStream(1, ERROR_CODE_CANCEL));
|
|
|
| MockWrite spdy_writes[] = {
|
| CreateMockWrite(connect, 0), CreateMockWrite(get, 2),
|
| @@ -7864,7 +7864,7 @@ TEST_F(HttpNetworkTransactionTest, RedirectOfHttpsConnectViaSpdyProxy) {
|
| SpdySerializedFrame conn(spdy_util_.ConstructSpdyConnect(
|
| NULL, 0, 1, LOWEST, HostPortPair("www.example.org", 443)));
|
| SpdySerializedFrame goaway(
|
| - spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
|
| + spdy_util_.ConstructSpdyRstStream(1, ERROR_CODE_CANCEL));
|
| MockWrite data_writes[] = {
|
| CreateMockWrite(conn, 0, SYNCHRONOUS),
|
| CreateMockWrite(goaway, 2, SYNCHRONOUS),
|
| @@ -7961,7 +7961,7 @@ TEST_F(HttpNetworkTransactionTest, ErrorResponseToHttpsConnectViaSpdyProxy) {
|
| SpdySerializedFrame conn(spdy_util_.ConstructSpdyConnect(
|
| NULL, 0, 1, LOWEST, HostPortPair("www.example.org", 443)));
|
| SpdySerializedFrame rst(
|
| - spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
|
| + spdy_util_.ConstructSpdyRstStream(1, ERROR_CODE_CANCEL));
|
| MockWrite data_writes[] = {
|
| CreateMockWrite(conn, 0), CreateMockWrite(rst, 3),
|
| };
|
| @@ -8021,7 +8021,7 @@ TEST_F(HttpNetworkTransactionTest, BasicAuthSpdyProxy) {
|
| SpdySerializedFrame req(spdy_util_.ConstructSpdyConnect(
|
| NULL, 0, 1, LOWEST, HostPortPair("www.example.org", 443)));
|
| SpdySerializedFrame rst(
|
| - spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
|
| + spdy_util_.ConstructSpdyRstStream(1, ERROR_CODE_CANCEL));
|
| spdy_util_.UpdateWithStreamDestruction(1);
|
|
|
| // After calling trans.RestartWithAuth(), this is the request we should
|
| @@ -8281,7 +8281,7 @@ TEST_F(HttpNetworkTransactionTest, CrossOriginProxyPushCorrectness) {
|
| spdy_util_.ConstructSpdyGet("http://www.example.org/", 1, LOWEST));
|
|
|
| SpdySerializedFrame push_rst(
|
| - spdy_util_.ConstructSpdyRstStream(2, RST_STREAM_REFUSED_STREAM));
|
| + spdy_util_.ConstructSpdyRstStream(2, ERROR_CODE_REFUSED_STREAM));
|
|
|
| MockWrite spdy_writes[] = {
|
| CreateMockWrite(stream1_syn, 0, ASYNC), CreateMockWrite(push_rst, 3),
|
|
|