summaryrefslogtreecommitdiff
path: root/src/appMain/life_cycle.cc
diff options
context:
space:
mode:
authordcherniev <dcherniev@github.com>2016-12-09 17:44:28 +0200
committerdcherniev <dcherniev@github.com>2017-01-10 12:44:39 +0200
commit0292ff17af4f4a0f9f686a8c8ae66c4156197e61 (patch)
tree17ee1d2bc92b0e132a03c0ca0a432333beab904e /src/appMain/life_cycle.cc
parent4ff12fe67f0ed15700fd030690276712ef23659d (diff)
downloadsdl_core-0292ff17af4f4a0f9f686a8c8ae66c4156197e61.tar.gz
Create mock for LastState class
Splitted last_state into interface and implementation classes. Created mock class for last_state interface class. Updated references to last_state class in other related classes. Related task : APPLINK-30284
Diffstat (limited to 'src/appMain/life_cycle.cc')
-rw-r--r--src/appMain/life_cycle.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/appMain/life_cycle.cc b/src/appMain/life_cycle.cc
index f3f7474344..9b4910585f 100644
--- a/src/appMain/life_cycle.cc
+++ b/src/appMain/life_cycle.cc
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2016, Ford Motor Company
+* Copyright (c) 2017, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -34,7 +34,7 @@
#include "utils/signals.h"
#include "utils/make_shared.h"
#include "config_profile/profile.h"
-#include "resumption/last_state.h"
+#include "resumption/last_state_impl.h"
#ifdef ENABLE_SECURITY
#include "security_manager/security_manager_impl.h"
@@ -102,8 +102,8 @@ LifeCycle::LifeCycle(const profile::Profile& profile)
bool LifeCycle::StartComponents() {
LOG4CXX_AUTO_TRACE(logger_);
DCHECK(!last_state_);
- last_state_ = new resumption::LastState(profile_.app_storage_folder(),
- profile_.app_info_storage());
+ last_state_ = new resumption::LastStateImpl(profile_.app_storage_folder(),
+ profile_.app_info_storage());
DCHECK(!transport_manager_);
transport_manager_ = new transport_manager::TransportManagerDefault(profile_);