#define COMMON_APP_INSTALLER_H_
#include <manifest_parser/utils/logging.h>
-
+#include <boost/bind.hpp>
#include <list>
#include <memory>
#include <string>
-#include <boost/bind.hpp>
-
#include "common/pkgmgr_interface.h"
#include "common/pkgmgr_signal.h"
#include "common/step/step.h"
#ifndef COMMON_STEP_STEP_H_
#define COMMON_STEP_STEP_H_
-#include <string>
-
#include <boost/signals2.hpp>
+#include <string>
#include "common/installer_context.h"
#define COMMON_STEP_STEP_BACKUP_ICONS_H_
#include <boost/filesystem/path.hpp>
+#include <manifest_parser/utils/logging.h>
#include <utility>
#include <vector>
-#include <manifest_parser/utils/logging.h>
-
#include "common/installer_context.h"
#include "common/step/step.h"
g_list_free_full(m->privileges, free);
m->privileges = nullptr;
for (GList* l = mapped_privilege_list; l != NULL; l = l->next) {
- m->privileges = g_list_append(m->privileges, strdup((char*)l->data));
+ m->privileges = g_list_append(m->privileges,
+ strdup(reinterpret_cast<char*>(l->data)));
}
g_list_free_full(mapped_privilege_list, free);
strdup(kPrivForPlatform));
break;
default:
- // TODO(jongmyeong.ko): temporarily, public privileges for untrusted application.
+ // TODO(jongmyeong.ko): temporarily, public privileges for untrusted
+ // application.
context_->manifest_data.get()->privileges =
g_list_append(context_->manifest_data.get()->privileges,
strdup(kPrivForPublic));
return false;
}
- r = lsetxattr(subpath.c_str(), "security.SMACK64", label.c_str(), label.length(), 0);
+ r = lsetxattr(subpath.c_str(), "security.SMACK64",
+ label.c_str(), label.length(), 0);
if (r < 0) {
LOG(ERROR) << "Failed to apply label";
return false;
// found in the LICENSE file.
#include "common/installer_context.h"
-#include "step_check_tpk_background_category.h"
+#include "tpk/step/step_check_tpk_background_category.h"
namespace {
namespace ci_sec = common_installer::security;
#include <manifest_handlers/setting_handler.h>
#include "common/installer_context.h"
-#include "step_check_wgt_background_category.h"
+#include "wgt/step/step_check_wgt_background_category.h"
#include "wgt/wgt_backend_data.h"
namespace {