• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_HTTP_INTERFACE_H_
6 #define QUICHE_BLIND_SIGN_AUTH_TEST_TOOLS_MOCK_BLIND_SIGN_HTTP_INTERFACE_H_
7 
8 #include <string>
9 
10 #include "quiche/blind_sign_auth/blind_sign_http_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 MockBlindSignHttpInterface
17     : public BlindSignHttpInterface {
18  public:
19   MOCK_METHOD(void, DoRequest,
20               (BlindSignHttpRequestType request_type,
21                const std::string& authorization_header, const std::string& body,
22                BlindSignHttpCallback callback),
23               (override));
24 };
25 
26 }  // namespace quiche::test
27 
28 #endif  // QUICHE_BLIND_SIGN_AUTH_TEST_TOOLS_MOCK_BLIND_SIGN_HTTP_INTERFACE_H_
29