98f953f5f44533b890767ce4e41d5be40f05075e
[platform/core/appfw/app-installers.git] / src / common / step / security / step_register_security.h
1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMMON_STEP_SECURITY_STEP_REGISTER_SECURITY_H_
6 #define COMMON_STEP_SECURITY_STEP_REGISTER_SECURITY_H_
7
8 #include <manifest_parser/utils/logging.h>
9
10 #include "common/step/step.h"
11
12 namespace common_installer {
13 namespace security {
14
15 class StepRegisterSecurity : public Step {
16  public:
17   using Step::Step;
18
19   Status process() override;
20   Status undo() override { return Status::OK; }
21   Status clean() override { return Status::OK; }
22   Status precheck() override;
23
24   STEP_NAME(RegisterSecurity)
25 };
26
27 }  // namespace security
28 }  // namespace common_installer
29
30 #endif  // COMMON_STEP_SECURITY_STEP_REGISTER_SECURITY_H_