#include "components/sync/engine/nigori/key_derivation_params.h"
#include "base/check_op.h"
namespace syncer {
KeyDerivationParams::KeyDerivationParams(KeyDerivationMethod method,
const std::string& scrypt_salt)
: … { … }
KeyDerivationParams::KeyDerivationParams(const KeyDerivationParams& other) =
default;
KeyDerivationParams::KeyDerivationParams(KeyDerivationParams&& other) = default;
KeyDerivationParams& KeyDerivationParams::operator=(
const KeyDerivationParams& other) = default;
const std::string& KeyDerivationParams::scrypt_salt() const { … }
KeyDerivationParams KeyDerivationParams::CreateForPbkdf2() { … }
KeyDerivationParams KeyDerivationParams::CreateForScrypt(
const std::string& salt) { … }
}