Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / login / managed / locally_managed_user_constants.cc
1 // Copyright (c) 2012 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.
4
5 #include "chrome/browser/chromeos/login/managed/locally_managed_user_constants.h"
6
7 #include "chromeos/cryptohome/cryptohome_parameters.h"
8
9 namespace chromeos {
10
11 const char kSupervisedUserTokenFilename[] = "token";
12
13 const char kCryptohomeSupervisedUserKeyLabel[] = "managed";
14 const char kCryptohomeMasterKeyLabel[] = "master";
15 const char kLegacyCryptohomeSupervisedUserKeyLabel[] = "default-0";
16 const char kLegacyCryptohomeMasterKeyLabel[] = "default-1";
17
18 const int kCryptohomeSupervisedUserKeyPrivileges =
19     cryptohome::PRIV_AUTHORIZED_UPDATE | cryptohome::PRIV_MOUNT;
20 const int kCryptohomeSupervisedUserIncompleteKeyPrivileges =
21     cryptohome::PRIV_MIGRATE | cryptohome::PRIV_MOUNT;
22
23 }  // namespace chromeos