1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef COMMON_STEP_FILESYSTEM_STEP_ACQUIRE_EXTERNAL_STORAGE_H_
6 #define COMMON_STEP_FILESYSTEM_STEP_ACQUIRE_EXTERNAL_STORAGE_H_
8 #include "common/installer_context.h"
9 #include "common/step/step.h"
11 namespace common_installer {
12 namespace filesystem {
15 * \brief Creates package storage according to:
16 * 1) package installation
19 class StepAcquireExternalStorage : public Step {
23 explicit StepAcquireExternalStorage(InstallerContext* context,
26 Status process() override;
28 Status clean() override { return Status::OK; }
29 Status undo() override { return Status::OK; }
30 Status precheck() override;
32 bool installed_ = false;
34 STEP_NAME(AcquireExternalStorage)
37 } // namespace filesystem
38 } // namespace common_installer
40 #endif // COMMON_STEP_FILESYSTEM_STEP_ACQUIRE_EXTERNAL_STORAGE_H_