blob: 9fe5862f5cd9bc0df37c9eb6ea0a032009ad27f5 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ATTESTATION_PCA_AGENT_SERVER_MOCK_PCA_HTTP_UTILS_H_
#define ATTESTATION_PCA_AGENT_SERVER_MOCK_PCA_HTTP_UTILS_H_
#include "attestation/pca_agent/server/pca_http_utils.h"
#include <string>
#include <gmock/gmock.h>
namespace attestation {
namespace pca_agent {
class MockPcaHttpUtils : public PcaHttpUtils {
public:
MockPcaHttpUtils() = default;
~MockPcaHttpUtils() override = default;
MOCK_METHOD(void,
GetChromeProxyServersAsync,
(const std::string&,
const brillo::http::GetChromeProxyServersCallback&),
(override));
DISALLOW_COPY_AND_ASSIGN(MockPcaHttpUtils);
};
} // namespace pca_agent
} // namespace attestation
#endif // ATTESTATION_PCA_AGENT_SERVER_MOCK_PCA_HTTP_UTILS_H_