blob: c753f66c0d167af8c3b4f870df4237d5e3699f64 [file] [log] [blame]
// Copyright (c) 2013 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 CRYPTOHOME_VAULT_KEYSET_FACTORY_H_
#define CRYPTOHOME_VAULT_KEYSET_FACTORY_H_
#include <base/basictypes.h>
namespace cryptohome {
class Crypto;
class Platform;
class VaultKeyset;
// Provide a means for mocks to be injected anywhere that new VaultKeyset
// objects are created.
class VaultKeysetFactory {
public:
VaultKeysetFactory();
virtual ~VaultKeysetFactory();
virtual VaultKeyset* New(Platform* platform, Crypto* crypto);
private:
DISALLOW_COPY_AND_ASSIGN(VaultKeysetFactory);
};
} // namespace cryptohome
#endif // CRYPTOHOME_VAULT_KEYSET_FACTORY_H_