| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/spdy/spdy_test_util_common.h" | 5 #include "net/spdy/spdy_test_util_common.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 #include <cstddef> | 8 #include <cstddef> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 int Connect(const CompletionCallback& callback) override { | 598 int Connect(const CompletionCallback& callback) override { |
| 599 ADD_FAILURE(); | 599 ADD_FAILURE(); |
| 600 return ERR_UNEXPECTED; | 600 return ERR_UNEXPECTED; |
| 601 } | 601 } |
| 602 | 602 |
| 603 bool WasEverUsed() const override { | 603 bool WasEverUsed() const override { |
| 604 ADD_FAILURE(); | 604 ADD_FAILURE(); |
| 605 return false; | 605 return false; |
| 606 } | 606 } |
| 607 | 607 |
| 608 bool UsingTCPFastOpen() const override { | |
| 609 ADD_FAILURE(); | |
| 610 return false; | |
| 611 } | |
| 612 | |
| 613 bool WasNpnNegotiated() const override { | 608 bool WasNpnNegotiated() const override { |
| 614 ADD_FAILURE(); | 609 ADD_FAILURE(); |
| 615 return false; | 610 return false; |
| 616 } | 611 } |
| 617 | 612 |
| 618 bool GetSSLInfo(SSLInfo* ssl_info) override { | 613 bool GetSSLInfo(SSLInfo* ssl_info) override { |
| 619 ADD_FAILURE(); | 614 ADD_FAILURE(); |
| 620 return false; | 615 return false; |
| 621 } | 616 } |
| 622 | 617 |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1268 } | 1263 } |
| 1269 } | 1264 } |
| 1270 | 1265 |
| 1271 void SpdyTestUtil::SetPriority(RequestPriority priority, | 1266 void SpdyTestUtil::SetPriority(RequestPriority priority, |
| 1272 SpdySynStreamIR* ir) const { | 1267 SpdySynStreamIR* ir) const { |
| 1273 ir->set_priority(ConvertRequestPriorityToSpdyPriority( | 1268 ir->set_priority(ConvertRequestPriorityToSpdyPriority( |
| 1274 priority, spdy_version())); | 1269 priority, spdy_version())); |
| 1275 } | 1270 } |
| 1276 | 1271 |
| 1277 } // namespace net | 1272 } // namespace net |
| OLD | NEW |