step/step_update_security.cc
step/step_update_tep.cc
utils/file_util.cc
- utils/string_util.cc
)
# Target - definition
ADD_LIBRARY(${TARGET_LIBNAME_COMMON} SHARED ${SRCS})
#include "common/installer_context.h"
#include "common/pkgmgr_interface.h"
#include "common/pkgmgr_signal.h"
-#include "common/utils/logging.h"
namespace {
#ifndef COMMON_APP_INSTALLER_H_
#define COMMON_APP_INSTALLER_H_
+#include <manifest_parser/utils/logging.h>
+
#include <list>
#include <memory>
#include "common/pkgmgr_interface.h"
#include "common/pkgmgr_signal.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
#include "common/utils/macros.h"
namespace common_installer {
#ifndef COMMON_PKGMGR_INTERFACE_H_
#define COMMON_PKGMGR_INTERFACE_H_
+#include <manifest_parser/utils/logging.h>
#include <pkgmgr_installer.h>
+
#include <boost/filesystem/path.hpp>
#include <memory>
#include "common/app_query_interface.h"
#include "common/request.h"
#include "common/utils/macros.h"
-#include "common/utils/logging.h"
namespace common_installer {
#include "common/pkgmgr_registration.h"
+#include <manifest_parser/utils/logging.h>
#include <pkgmgr_installer.h>
#include <tzplatform_config.h>
#include <unistd.h>
-#include "common/utils/logging.h"
-
namespace bf = boost::filesystem;
namespace {
#include "common/pkgmgr_signal.h"
+#include <manifest_parser/utils/logging.h>
+
#include <unistd.h>
#include <sys/types.h>
#include <vector>
#include "common/pkgmgr_registration.h"
-#include "common/utils/logging.h"
namespace {
#include <boost/filesystem/operations.hpp>
#include <boost/system/error_code.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include <array>
#include <cstring>
#include <map>
#include "common/installer_context.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
namespace bs = boost::system;
#include "common/security_registration.h"
#include <boost/filesystem/operations.hpp>
+
+#include <manifest_parser/utils/logging.h>
#include <security-manager.h>
#include <utility>
#include <algorithm>
#include "common/utils/glist_range.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
#include <utility>
#include <vector>
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace backup {
#include "common/backup_paths.h"
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
namespace bs = boost::system;
#ifndef COMMON_STEP_STEP_BACKUP_MANIFEST_H_
#define COMMON_STEP_STEP_BACKUP_MANIFEST_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace backup {
#ifndef COMMON_STEP_STEP_CHECK_BACKGROUND_CATEGORY_H_
#define COMMON_STEP_STEP_CHECK_BACKGROUND_CATEGORY_H_
+#include <manifest_parser/utils/logging.h>
#include <manifest_parser/utils/version_number.h>
#include <glib.h>
#include <string>
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#include "common/step/step_check_old_certificate.h"
+#include <manifest_parser/utils/logging.h>
#include <pkgmgr-info.h>
#include <unistd.h>
#include <string>
#include "common/pkgmgr_registration.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_CHECK_OLD_CERTIFICATE_H_
#define COMMON_STEP_STEP_CHECK_OLD_CERTIFICATE_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_CHECK_SIGNATURE_H_
#define COMMON_STEP_STEP_CHECK_SIGNATURE_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_CONFIGURE_H_
#define COMMON_STEP_STEP_CONFIGURE_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/pkgmgr_interface.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace configuration {
#ifndef COMMON_STEP_STEP_COPY_H_
#define COMMON_STEP_STEP_COPY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace backup {
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_COPY_TEP_H_
#define COMMON_STEP_STEP_COPY_TEP_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#define COMMON_STEP_STEP_CREATE_ICONS_H_
#include <boost/filesystem/path.hpp>
+
+#include <manifest_parser/utils/logging.h>
+
#include <utility>
#include <vector>
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_CREATE_STORAGE_DIRECTORIES_H_
#define COMMON_STEP_STEP_CREATE_STORAGE_DIRECTORIES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_DELTA_PATCH_H_
#define COMMON_STEP_STEP_DELTA_PATCH_H_
+#include <manifest_parser/utils/logging.h>
+
#include <string>
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_FAIL_H_
#define COMMON_STEP_STEP_FAIL_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace configuration {
#ifndef COMMON_STEP_STEP_GENERATE_XML_H_
#define COMMON_STEP_STEP_GENERATE_XML_H_
+#include <manifest_parser/utils/logging.h>
+
#include <libxml/xmlwriter.h>
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#ifndef COMMON_STEP_STEP_KILL_APPS_H_
#define COMMON_STEP_STEP_KILL_APPS_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#include "common/step/step_old_manifest.h"
#include <boost/filesystem.hpp>
+
+#include <manifest_parser/utils/logging.h>
#include <pkgmgr-info.h>
-#include <string>
-#include "common/utils/logging.h"
+#include <string>
namespace common_installer {
namespace backup {
#ifndef COMMON_STEP_STEP_OLD_MANIFEST_H_
#define COMMON_STEP_STEP_OLD_MANIFEST_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace backup {
#ifndef COMMON_STEP_STEP_OPEN_RECOVERY_FILE_H_
#define COMMON_STEP_STEP_OPEN_RECOVERY_FILE_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace recovery {
#ifndef COMMON_STEP_STEP_PARSE_H_
#define COMMON_STEP_STEP_PARSE_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace parse {
#ifndef COMMON_STEP_STEP_PRIVILEGE_COMPATIBILITY_H_
#define COMMON_STEP_STEP_PRIVILEGE_COMPATIBILITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_RECOVER_APPLICATION_H_
#define COMMON_STEP_STEP_RECOVER_APPLICATION_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#ifndef COMMON_STEP_STEP_RECOVER_FILES_H_
#define COMMON_STEP_STEP_RECOVER_FILES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#define COMMON_STEP_STEP_RECOVER_ICONS_H_
#include <boost/filesystem/path.hpp>
+
+#include <manifest_parser/utils/logging.h>
+
#include <utility>
#include <vector>
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_RECOVER_MANIFEST_H_
#define COMMON_STEP_STEP_RECOVER_MANIFEST_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_RECOVER_SECURITY_H_
#define COMMON_STEP_STEP_RECOVER_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_RECOVER_STORAGE_DIRECTORIES_H_
#define COMMON_STEP_STEP_RECOVER_STORAGE_DIRECTORIES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#include "common/step/step_recovery.h"
+#include <manifest_parser/utils/logging.h>
+
#include "common/request.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace recovery {
#ifndef COMMON_STEP_STEP_REGISTER_APP_H_
#define COMMON_STEP_STEP_REGISTER_APP_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#ifndef COMMON_STEP_STEP_REGISTER_SECURITY_H_
#define COMMON_STEP_STEP_REGISTER_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_REMOVE_FILES_H_
#define COMMON_STEP_STEP_REMOVE_FILES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include <utility>
#include <vector>
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_REMOVE_TEMPORARY_DIRECTORY_H_
#define COMMON_STEP_STEP_REMOVE_TEMPORARY_DIRECTORY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step_recovery.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_REVOKE_SECURITY_H_
#define COMMON_STEP_STEP_REVOKE_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_ROLLBACK_DEINSTALLATION_SECURITY_H_
#define COMMON_STEP_STEP_ROLLBACK_DEINSTALLATION_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_ROLLBACK_INSTALLATION_SECURITY_H_
#define COMMON_STEP_STEP_ROLLBACK_INSTALLATION_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_UNREGISTER_APP_H_
#define COMMON_STEP_STEP_UNREGISTER_APP_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace filesystem {
#ifndef COMMON_STEP_STEP_UPDATE_APP_H_
#define COMMON_STEP_STEP_UPDATE_APP_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#ifndef COMMON_STEP_STEP_UPDATE_SECURITY_H_
#define COMMON_STEP_STEP_UPDATE_SECURITY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace security {
#ifndef COMMON_STEP_STEP_UPDATE_TEP_H_
#define COMMON_STEP_STEP_UPDATE_TEP_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace common_installer {
namespace pkgmgr {
#include <boost/filesystem/path.hpp>
#include <boost/system/error_code.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include <algorithm>
#include <string>
#include <vector>
#include "common/utils/byte_size_literals.h"
-#include "common/utils/logging.h"
namespace ba = boost::algorithm;
namespace bs = boost::system;
+++ /dev/null
-// Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by a apache 2.0 license that can be
-// found in the LICENSE file.
-
-#ifndef COMMON_UTILS_LOGGING_H_
-#define COMMON_UTILS_LOGGING_H_
-
-#include <cassert>
-#include <iomanip>
-#include <iostream>
-#include <sstream>
-#include <string>
-
-namespace common_installer {
-
-enum class LogLevel {
- LOG_ERROR,
- LOG_WARNING,
- LOG_INFO,
- LOG_DEBUG,
-};
-
-template<LogLevel> struct LogTag;
-template<> struct LogTag<LogLevel::LOG_ERROR> {
- static constexpr const char* value = "\033[1;31m| ERROR |\033[0m";
-};
-template<> struct LogTag<LogLevel::LOG_WARNING> {
- static constexpr const char* value = "\033[1;33m| WARNING |\033[0m";
-};
-template<> struct LogTag<LogLevel::LOG_INFO> {
- static constexpr const char* value = "\033[1;32m| INFO |\033[0m";
-};
-template<> struct LogTag<LogLevel::LOG_DEBUG> {
- static constexpr const char* value = "\033[0m| DEBUG |\033[0m";
-};
-
-class LogCatcher {
- public:
- LogCatcher() { }
- void operator&(const std::ostream& str) const {
- // TODO(tiwanek): this cast is error-prone - fix it
- std::cerr << static_cast<const std::ostringstream*>(&str)->str()
- << std::endl;
- }
-};
-
-} // namespace common_installer
-
-inline static const constexpr char* __tag_for_logging() {
- return "";
-}
-
-// To be defined in class namespace if user want different log tag for given
-// scope
-#define SCOPE_LOG_TAG(TAG) \
- inline static const constexpr char* __tag_for_logging() { \
- return #TAG; \
- } \
-
-// Simple logging macro of following usage:
-// LOG(LEVEL) << object_1 << object_2 << object_n;
-// where:
-// LEVEL = ERROR | WARNING | INFO | DEBUG
-#define LOG(LEVEL) \
- ::common_installer::LogCatcher() & std::ostringstream() \
- << std::string(::common_installer::LogTag< \
- ::common_installer::LogLevel::LOG_ ## LEVEL>::value) \
- << " " << std::setw(20) << std::left << __tag_for_logging() \
- << std::setw(0) << " : " \
-
-#endif // COMMON_UTILS_LOGGING_H_
+++ /dev/null
-// Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by a apache 2.0 license that can be
-// found in the LICENSE file.
-
-// This file was rewritten completely in
-// 7c807fc0d4561d178b7c2d8b8d532f48e78ab1bc so fixing license.
-
-#include "common/utils/string_util.h"
-
-#include <cstdlib>
-#include <string>
-#include <vector>
-
-namespace common_installer {
-
-std::string DecodePercentEscapedCharacter(const std::string& path) {
- std::vector<int> input(path.begin(), path.end());
- std::vector<char> output;
- unsigned i = 0;
- while (i < input.size()) {
- if ('%' == input[i]) {
- if (i + 2 >= input.size())
- return std::string();
- char str[3] = {"\0", };
- str[0] = input[i + 1];
- str[1] = input[i + 2];
- int result = strtol(str, nullptr, 16);
- // RFC 1738 - octets 80 to FF are not allowed
- if (result >= 128)
- return std::string();
- output.push_back(static_cast<char>(result));
- i += 3;
- } else {
- output.push_back(static_cast<char>(input[i]));
- ++i;
- }
- }
- return std::string(output.begin(), output.end());
-}
-
-} // namespace common_installer
+++ /dev/null
-// Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
-// Use of this source code is governed by a apache 2.0 license that can be
-// found in the LICENSE file.
-
-#ifndef COMMON_UTILS_STRING_UTIL_H_
-#define COMMON_UTILS_STRING_UTIL_H_
-
-#include <string>
-
-namespace common_installer {
-
-std::string DecodePercentEscapedCharacter(const std::string& path);
-
-} // namespace common_installer
-
-#endif // COMMON_UTILS_STRING_UTIL_H_
#include <boost/program_options.hpp>
#include <boost/system/error_code.hpp>
+#include <manifest_parser/utils/logging.h>
#include <pkgmgr-info.h>
#include <pwd.h>
#include <sys/types.h>
#include "common/pkgmgr_registration.h"
#include "common/utils/file_util.h"
#include "common/utils/glist_range.h"
-#include "common/utils/logging.h"
+
namespace bf = boost::filesystem;
namespace bpo = boost::program_options;
#include "common/installer_context.h"
#include "common/utils/file_util.h"
#include "common/utils/glist_range.h"
-#include "common/utils/logging.h"
namespace tpk {
namespace filesystem {
#ifndef TPK_STEP_STEP_CREATE_SYMBOLIC_LINK_H_
#define TPK_STEP_STEP_CREATE_SYMBOLIC_LINK_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
-#include "common/utils/logging.h"
namespace tpk {
namespace filesystem {
#define TPK_STEP_STEP_PARSE_H_
#include <boost/filesystem.hpp>
+
+#include <manifest_parser/utils/logging.h>
#include <tpk_manifest_handlers/privileges_handler.h>
#include <tpk_manifest_handlers/tpk_config_parser.h>
#include <tpk_manifest_handlers/ui_and_service_application_infos.h>
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace tpk {
namespace parse {
#include <boost/filesystem/path.hpp>
-#include "common/utils/logging.h"
+#include <manifest_parser/utils/logging.h>
+
#include "tpk/step/step_parse.h"
namespace tpk {
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/system/error_code.hpp>
+
+#include <manifest_parser/utils/logging.h>
#include <tpk_manifest_handlers/application_manifest_constants.h>
#include <tpk_manifest_handlers/package_handler.h>
#include <tpk_manifest_handlers/tpk_config_parser.h>
#include "common/pkgmgr_registration.h"
#include "common/request.h"
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
namespace bs = boost::system;
/* Copyright 2015 Samsung Electronics, license APACHE-2.0, see LICENSE file */
+#include <manifest_parser/utils/logging.h>
+
#include <iostream>
#include "common/pkgmgr_interface.h"
-#include "common/utils/logging.h"
#include "tpk/tpk_app_query_interface.h"
#include "tpk/tpk_installer.h"
#include "common/step/step_update_app.h"
#include "common/step/step_update_security.h"
#include "common/step/step_update_tep.h"
-#include "common/utils/logging.h"
#include "tpk/step/step_check_tpk_background_category.h"
#include "tpk/step/step_create_symbolic_link.h"
#include "tpk/step/step_parse.h"
#ifndef TPK_TPK_INSTALLER_H_
#define TPK_TPK_INSTALLER_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
#include "common/pkgmgr_interface.h"
-#include "common/utils/logging.h"
namespace tpk {
#ifndef WGT_STEP_STEP_ADD_DEFAULT_PRIVILEGES_H_
#define WGT_STEP_STEP_ADD_DEFAULT_PRIVILEGES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace security {
#include "wgt/step/step_check_settings_level.h"
#include <manifest_handlers/setting_handler.h>
+#include <manifest_parser/utils/logging.h>
#include <map>
-#include "common/utils/logging.h"
-
#include "wgt/wgt_backend_data.h"
namespace {
#ifndef WGT_STEP_STEP_CHECK_SETTINGS_LEVEL_H_
#define WGT_STEP_STEP_CHECK_SETTINGS_LEVEL_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace security {
#include <boost/filesystem.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace filesystem {
#include <boost/filesystem/operations.hpp>
#include <boost/system/error_code.hpp>
+
+#include <manifest_parser/utils/logging.h>
+
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <string>
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace {
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
#include "wgt/wgt_backend_data.h"
namespace wgt {
#define WGT_STEP_STEP_PARSE_H_
#include <boost/filesystem.hpp>
+
#include <manifest_handlers/permissions_handler.h>
#include <manifest_handlers/widget_config_parser.h>
+#include <manifest_parser/utils/logging.h>
#include <memory>
#include <set>
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace parse {
#ifndef WGT_STEP_STEP_PARSE_RECOVERY_H_
#define WGT_STEP_STEP_PARSE_RECOVERY_H_
-#include "common/utils/logging.h"
+#include <manifest_parser/utils/logging.h>
+
#include "wgt/step/step_parse.h"
namespace wgt {
#include <boost/system/error_code.hpp>
+#include <manifest_parser/utils/logging.h>
+
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace rds {
#include "wgt/step/step_rds_parse.h"
+#include <manifest_parser/utils/logging.h>
+
#include <memory>
-#include "common/utils/logging.h"
#include "wgt/rds_parser.h"
#include "wgt/wgt_backend_data.h"
#include <web_app_enc.h>
-#include "common/utils/logging.h"
-
+#include <manifest_parser/utils/logging.h>
namespace wgt {
namespace encrypt {
#ifndef WGT_STEP_STEP_REMOVE_ENCRYPTION_DATA_H_
#define WGT_STEP_STEP_REMOVE_ENCRYPTION_DATA_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace encrypt {
#ifndef WGT_STEP_STEP_WGT_COPY_STORAGE_DIRECTORIES_H_
#define WGT_STEP_STEP_WGT_COPY_STORAGE_DIRECTORIES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step_copy_storage_directories.h"
-#include "utils/logging.h"
namespace wgt {
namespace filesystem {
#ifndef WGT_STEP_STEP_WGT_CREATE_ICONS_H_
#define WGT_STEP_STEP_WGT_CREATE_ICONS_H_
-#include "common/utils/logging.h"
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step_create_icons.h"
namespace wgt {
#ifndef WGT_STEP_STEP_WGT_CREATE_STORAGE_DIRECTORIES_H_
#define WGT_STEP_STEP_WGT_CREATE_STORAGE_DIRECTORIES_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/step/step_create_storage_directories.h"
-#include "utils/logging.h"
namespace wgt {
namespace filesystem {
#include <boost/filesystem/path.hpp>
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
namespace bs = boost::system;
#ifndef WGT_STEP_STEP_WGT_RESOURCE_DIRECTORY_H_
#define WGT_STEP_STEP_WGT_RESOURCE_DIRECTORY_H_
+#include <manifest_parser/utils/logging.h>
+
#include "common/app_installer.h"
#include "common/installer_context.h"
#include "common/step/step.h"
-#include "common/utils/logging.h"
namespace wgt {
namespace filesystem {
#include <manifest_handlers/tizen_application_handler.h>
#include <manifest_handlers/widget_handler.h>
#include <manifest_parser/manifest_parser.h>
+#include <manifest_parser/utils/logging.h>
#include <memory>
#include <string>
#include "common/pkgmgr_registration.h"
#include "common/request.h"
#include "common/utils/file_util.h"
-#include "common/utils/logging.h"
namespace bf = boost::filesystem;
namespace bs = boost::system;