| // Copyright 2025 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_CREDENTIAL_MANAGEMENT_CREDENTIAL_MANAGER_FACTORY_INTERFACE_H_ |
| #define COMPONENTS_CREDENTIAL_MANAGEMENT_CREDENTIAL_MANAGER_FACTORY_INTERFACE_H_ |
| |
| #include <memory> |
| |
| namespace credential_management { |
| |
| class CredentialManagerInterface; |
| |
| // Interface for factory classes that create implementations of |
| // `CredentialManagerInterface`. |
| class CredentialManagerFactoryInterface { |
| public: |
| virtual ~CredentialManagerFactoryInterface() = default; |
| virtual std::unique_ptr<CredentialManagerInterface> |
| CreateCredentialManager() = 0; |
| }; |
| } // namespace credential_management |
| #endif // COMPONENTS_CREDENTIAL_MANAGEMENT_CREDENTIAL_MANAGER_FACTORY_INTERFACE_H_ |