wub | f975eac | 2019-08-19 19:41:01 -0700 | [diff] [blame] | 1 | // Copyright (c) 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef QUICHE_QUIC_QBONE_MOCK_QBONE_CLIENT_H_ |
| 6 | #define QUICHE_QUIC_QBONE_MOCK_QBONE_CLIENT_H_ |
| 7 | |
| 8 | #include "net/third_party/quiche/src/quic/platform/api/quic_test.h" |
| 9 | #include "net/third_party/quiche/src/quic/qbone/qbone_client_interface.h" |
dmcardle | d70b99e | 2019-12-12 09:52:39 -0800 | [diff] [blame] | 10 | #include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h" |
wub | f975eac | 2019-08-19 19:41:01 -0700 | [diff] [blame] | 11 | |
| 12 | namespace quic { |
| 13 | |
| 14 | class MockQboneClient : public QboneClientInterface { |
| 15 | public: |
wub | 713afae | 2020-04-27 07:48:31 -0700 | [diff] [blame^] | 16 | MOCK_METHOD(void, |
| 17 | ProcessPacketFromNetwork, |
| 18 | (quiche::QuicheStringPiece packet), |
| 19 | (override)); |
wub | f975eac | 2019-08-19 19:41:01 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | } // namespace quic |
| 23 | |
| 24 | #endif // QUICHE_QUIC_QBONE_MOCK_QBONE_CLIENT_H_ |