[Release] wrt-installer_0.1.114
[framework/web/wrt-installer.git] / src / jobs / widget_install / task_certify.cpp
index 7b44f7f..a610cb6 100644 (file)
@@ -125,12 +125,13 @@ TaskCertify::TaskCertify(InstallerContext &inCont) :
     DPL::TaskDecl<TaskCertify>(this),
     m_contextData(inCont)
 {
+    AddStep(&TaskCertify::StartStep);
     AddStep(&TaskCertify::stepSignature);
     // certi comparison determines whether the update.
     if (true == m_contextData.isUpdateMode) {
         AddStep(&TaskCertify::stepVerifyUpdate);
     }
-    AddStep(&TaskCertify::stepFinalize);
+    AddStep(&TaskCertify::EndStep);
 }
 
 void TaskCertify::processDistributorSignature(const SignatureData &data)
@@ -310,15 +311,6 @@ void TaskCertify::stepSignature()
         "Widget Signature checked");
 }
 
-void TaskCertify::stepFinalize()
-{
-    LogDebug("Step: <<CERTYFYING DONE>>");
-
-    m_contextData.job->UpdateProgress(
-        InstallerContext::INSTALL_CERT_CHECK,
-        "Widget Certification Check Finished");
-}
-
 bool TaskCertify::isTizenWebApp() const
 {
     bool ret = FALSE;
@@ -357,6 +349,22 @@ void TaskCertify::stepVerifyUpdate()
         }
     }
 }
+
+void TaskCertify::StartStep()
+{
+    LogDebug("--------- <TaskCertify> : START ----------");
+}
+
+void TaskCertify::EndStep()
+{
+    LogDebug("Step: <<CERTYFYING DONE>>");
+
+    m_contextData.job->UpdateProgress(
+        InstallerContext::INSTALL_CERT_CHECK,
+        "Widget Certification Check Finished");
+
+    LogDebug("--------- <TaskCertify> : END ----------");
+}
 } //namespace WidgetInstall
 } //namespace Jobs