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 | |
vasilvv | 1436e34 | 2020-10-09 12:31:16 -0700 | [diff] [blame] | 8 | #include "absl/strings/string_view.h" |
QUICHE team | 5be974e | 2020-12-29 18:35:24 -0500 | [diff] [blame] | 9 | #include "quic/platform/api/quic_test.h" |
| 10 | #include "quic/qbone/qbone_client_interface.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, |
vasilvv | 1436e34 | 2020-10-09 12:31:16 -0700 | [diff] [blame] | 18 | (absl::string_view packet), |
wub | 713afae | 2020-04-27 07:48:31 -0700 | [diff] [blame] | 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_ |