1 // Copyright (c) 2023 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_BLIND_SIGN_AUTH_TEST_TOOLS_MOCK_BLIND_SIGN_AUTH_INTERFACE_H_ 6 #define QUICHE_BLIND_SIGN_AUTH_TEST_TOOLS_MOCK_BLIND_SIGN_AUTH_INTERFACE_H_ 7 8 #include <string> 9 10 #include "quiche/blind_sign_auth/blind_sign_auth_interface.h" 11 #include "quiche/common/platform/api/quiche_export.h" 12 #include "quiche/common/platform/api/quiche_test.h" 13 14 namespace quiche::test { 15 16 class QUICHE_NO_EXPORT MockBlindSignAuthInterface 17 : public BlindSignAuthInterface { 18 public: 19 MOCK_METHOD(void, GetTokens, 20 (std::string oauth_token, int num_tokens, ProxyLayer proxy_layer, 21 SignedTokenCallback callback), 22 (override)); 23 }; 24 25 } // namespace quiche::test 26 27 #endif // QUICHE_BLIND_SIGN_AUTH_TEST_TOOLS_MOCK_BLIND_SIGN_AUTH_INTERFACE_H_ 28