Rename backup_paths.h to paths.h 96/74296/3
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 13 Jun 2016 14:01:30 +0000 (16:01 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 21 Jun 2016 14:10:27 +0000 (16:10 +0200)
Submit together:
 - https://review.tizen.org/gerrit/74296
 - https://review.tizen.org/gerrit/74297
 - https://review.tizen.org/gerrit/74298

Change-Id: I753c25993092cb48665e4e93cee83c3a7e223003

21 files changed:
src/common/CMakeLists.txt
src/common/paths.cc [moved from src/common/backup_paths.cc with 98% similarity]
src/common/paths.h [moved from src/common/backup_paths.h with 94% similarity]
src/common/shared_dirs.cc
src/common/step/backup/step_backup_icons.cc
src/common/step/backup/step_backup_manifest.cc
src/common/step/backup/step_copy_backup.cc
src/common/step/configuration/step_block_cross_update.cc
src/common/step/configuration/step_parse_manifest.cc
src/common/step/filesystem/step_copy_storage_directories.cc
src/common/step/filesystem/step_copy_tep.cc
src/common/step/filesystem/step_move_installed_storage.cc
src/common/step/filesystem/step_recover_files.cc
src/common/step/filesystem/step_recover_icons.cc
src/common/step/filesystem/step_recover_manifest.cc
src/common/step/filesystem/step_recover_storage_directories.cc
src/common/step/filesystem/step_remove_zip_image.cc
src/common/step/filesystem/step_update_tep.cc
src/common/step/mount/step_mount_install.cc
src/common/step/mount/step_mount_update.cc
src/common/step/pkgmgr/step_recover_application.cc

index 88e86ba..bb88e5f 100644 (file)
@@ -2,11 +2,11 @@
 SET(SRCS
   privileges.cc
   app_installer.cc
-  backup_paths.cc
   certificate_validation.cc
   external_storage.cc
   feature_validator.cc
   installer_context.cc
+  paths.cc
   pkgdir_tool_request.cc
   plugins/plugin_factory.cc
   plugins/plugin_manager.cc
similarity index 98%
rename from src/common/backup_paths.cc
rename to src/common/paths.cc
index 686c521..e971c86 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by an apache-2.0 license that can be
 // found in the LICENSE file.
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 
 #include <pwd.h>
 #include <tzplatform_config.h>
similarity index 94%
rename from src/common/backup_paths.h
rename to src/common/paths.h
index d4c1c7b..1592155 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by an apache-2.0 license that can be
 // found in the LICENSE file.
 
-#ifndef COMMON_BACKUP_PATHS_H_
-#define COMMON_BACKUP_PATHS_H_
+#ifndef COMMON_PATHS_H_
+#define COMMON_PATHS_H_
 
 #include <boost/filesystem/path.hpp>
 #include <unistd.h>
@@ -12,8 +12,6 @@
 
 #include "common/request.h"
 
-// TODO(t.iwanek): rename this file from "backup_paths.h" to "paths.h"
-
 namespace common_installer {
 
 /**
@@ -122,4 +120,4 @@ boost::filesystem::path GetInternalTepPath(
 
 }  // namespace common_installer
 
-#endif  // COMMON_BACKUP_PATHS_H_
+#endif  // COMMON_PATHS_H_
index 5512361..0ce072c 100644 (file)
@@ -37,7 +37,7 @@
 #include <vector>
 #include <tuple>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/security_registration.h"
 #include "common/pkgmgr_registration.h"
 #include "common/utils/base64.h"
index 1aa4cdb..035b977 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 #include "common/utils/glist_range.h"
 
index 994024e..26ffebf 100644 (file)
@@ -14,7 +14,7 @@
 #include <algorithm>
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace bf = boost::filesystem;
index 65b80d7..9bb2ce1 100644 (file)
@@ -10,7 +10,7 @@
 #include <cassert>
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace {
index 16a9184..7b1538f 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <boost/filesystem/operations.hpp>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 
 namespace bf = boost::filesystem;
 
index 7613f5f..eeade90 100644 (file)
 #include <vector>
 
 #include "common/app_installer.h"
-#include "common/backup_paths.h"
 #include "common/feature_validator.h"
 #include "common/installer_context.h"
 #include "common/pkgmgr_registration.h"
+#include "common/paths.h"
 #include "common/step/step.h"
 #include "common/utils/glist_range.h"
 
index 51888ca..19cb701 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "utils/file_util.h"
 
 namespace bf = boost::filesystem;
index 0f3e0c5..b036128 100644 (file)
@@ -9,7 +9,7 @@
 #include <cstring>
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace common_installer {
index 3f3e676..caab2e0 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/external_storage.h"
 #include "common/utils/file_util.h"
 #include "common/pkgmgr_registration.h"
index a67dd3b..da13837 100644 (file)
@@ -8,7 +8,7 @@
 #include <boost/filesystem/path.hpp>
 #include <boost/system/error_code.hpp>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace bf = boost::filesystem;
index e511d64..f413313 100644 (file)
@@ -8,7 +8,7 @@
 #include <boost/system/error_code.hpp>
 #include <pkgmgr-info.h>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 #include "common/utils/glist_range.h"
 
index 7d99c36..8bc28fb 100644 (file)
@@ -9,7 +9,7 @@
 #include <boost/system/error_code.hpp>
 #include <pkgmgr-info.h>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace bf = boost::filesystem;
index dfe0d29..2915bcc 100644 (file)
@@ -7,7 +7,7 @@
 #include <boost/filesystem/path.hpp>
 #include <boost/system/error_code.hpp>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/utils/file_util.h"
 
 namespace {
index 31517b6..4f00960 100644 (file)
@@ -11,7 +11,7 @@
 #include <string>
 #include <vector>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/pkgmgr_registration.h"
 
 namespace bs = boost::system;
index 1b6f211..264c583 100644 (file)
@@ -11,7 +11,7 @@
 #include <cstring>
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/pkgmgr_registration.h"
 #include "common/utils/file_util.h"
 
index 50bf6d1..e3cc848 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/request.h"
 #include "common/tzip_interface.h"
 #include "common/utils/file_util.h"
index d60e88f..ac5a2e8 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/request.h"
 #include "common/tzip_interface.h"
 #include "common/utils/file_util.h"
index 51c24b1..4d6cab7 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <boost/filesystem.hpp>
 
-#include "common/backup_paths.h"
+#include "common/paths.h"
 #include "common/pkgmgr_registration.h"
 
 namespace bf = boost::filesystem;