blob: 018199b10ccc82b8cdd669cc1b83de41496599e8 [file] [log] [blame]
// Copyright 2018 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.
#include <base/files/file_util.h>
namespace oobe_config {
// /mnt/stateful_partition/
extern const base::FilePath kStatefulPartition;
// oobe_config_prepare_save copied the files into this directory.
extern const base::FilePath kSaveTempPath;
// oobe_config_finish_restore is expecting the files in this directory.
extern const base::FilePath kRestoreTempPath;
// The rollback data is stored here on unencrypted stateful as an encrypted
// proto. This is the file which is preserved over powerwash.
extern const base::FilePath kUnencryptedStatefulRollbackDataPath;
// The rollback data is stored here on encrypted stateful as an unencrypted
// proto.
extern const base::FilePath kEncryptedStatefulRollbackDataPath;
// These files indicate in which restore state are we currently.
extern const base::FilePath kFirstStageCompletedFile;
extern const base::FilePath kSecondStageCompletedFile;
// The name of the marker file used to trigger a save of rollback data
// during the next shutdown.
extern const base::FilePath kRollbackSaveMarkerFile;
// The path to the file that indicates if OOBE has completed.
extern const base::FilePath kOobeCompletedFile;
extern const char kOobeCompletedFileName[];
// The path to the file that indicates if metrics reporting is enabled.
extern const base::FilePath kMetricsReportingEnabledFile;
extern const char kMetricsReportingEnabledFileName[];
// Name of the files (without path) we want to preserve.
extern const base::FilePath kInstallAttributesPath;
extern const char kInstallAttributesFileName[];
extern const base::FilePath kOwnerKeyFilePath;
extern const char kOwnerKeyFileName[];
extern const base::FilePath kPolicyFileDirectory;
extern const char kPolicyFileName[];
extern const char kPolicyFileNamePattern[];
extern const base::FilePath kShillDefaultProfilePath;
extern const char kShillDefaultProfileFileName[];
extern const char kPolicyDotOneFileNameForTesting[];
extern const char kOobeConfigSaveUsername[];
extern const char kRootUsername[];
extern const char kPreserveGroupName[];
} // namespace oobe_config