Add Steps for handling privileged shared resources
[platform/core/appfw/app-installers.git] / src / common / step / pkgmgr / step_recover_priv_sharedres.h
1 // Copyright (c) 2021 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.
4
5 #ifndef COMMON_STEP_PKGMGR_STEP_RECOVER_PRIV_SHAREDRES_H_
6 #define COMMON_STEP_PKGMGR_STEP_RECOVER_PRIV_SHAREDRES_H_
7
8 #include <manifest_parser/utils/logging.h>
9
10 #include "common/installer_context.h"
11 #include "common/step/recovery/step_recovery.h"
12
13 namespace common_installer {
14 namespace pkgmgr {
15
16 class StepRecoverPrivSharedres : public recovery::StepRecovery {
17  public:
18   using StepRecovery::StepRecovery;
19
20   Status RecoveryNew() override { return Status::OK; }
21   Status RecoveryUpdate() override { return Status::OK; }
22   Status RecoveryUninstall() override;
23
24   STEP_NAME(RecoverPrivSharedres)
25 };
26
27 }  // namespace pkgmgr
28 }  // namespace common_installer
29
30 #endif  // COMMON_STEP_PKGMGR_STEP_RECOVER_PRIV_SHAREDRES_H_