1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromeos/cryptohome/cryptohome_parameters.h"
9 Authorization::Authorization(const std::string
& key
, const std::string
& label
)
10 : key(key
), label(label
) {}
12 Authorization::Authorization(const KeyDefinition
& key_def
)
13 : key(key_def
.key
), label(key_def
.label
) {}
15 MountParameters::MountParameters(bool ephemeral
) : ephemeral(ephemeral
) {}
17 MountParameters::~MountParameters() {}
19 KeyDefinition::KeyDefinition(const std::string
& key
,
20 const std::string
& label
,
21 int /*AuthKeyPrivileges*/ privileges
)
22 : label(label
), revision(1), key(key
), privileges(privileges
) {}
24 KeyDefinition::~KeyDefinition() {}
26 } // namespace cryptohome