chromium/ash/components/arc/test/fake_cert_manager.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/components/arc/net/cert_manager.h"

#ifndef ASH_COMPONENTS_ARC_TEST_FAKE_CERT_MANAGER_H_
#define ASH_COMPONENTS_ARC_TEST_FAKE_CERT_MANAGER_H_

namespace arc {
// A fake CertManager that fakes method to import private key and cert.
class FakeCertManager : public CertManager {
 public:
  ~FakeCertManager() override = default;
  void ImportPrivateKeyAndCert(
      const std::string& key_pem,
      const std::string& cert_pem,
      ImportPrivateKeyAndCertCallback callback) override {}
};

}  // namespace arc

#endif  // ASH_COMPONENTS_ARC_TEST_FAKE_CERT_MANAGER_H_