summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/include
diff options
context:
space:
mode:
authorHerasym Oleh <oolleehh@gmail.com>2017-04-27 14:25:04 +0300
committerokozlovlux <okozlov@luxoft.com>2017-05-17 19:27:11 +0300
commitd30137800ac1bc1d69370826f3d46aa95c68cbcc (patch)
tree74467c4d885e99a8d858392bf6a8a2da53c89dec /src/components/policy/policy_external/include
parent3f7e9df16be602c3a071a51f2d958fb2008a27b3 (diff)
downloadsdl_core-d30137800ac1bc1d69370826f3d46aa95c68cbcc.tar.gz
Fix absent status update
Fix coding style Conflicts: src/components/policy/policy_external/src/policy_manager_impl.cc src/components/policy/policy_external/test/policy_manager_impl_test.cc
Diffstat (limited to 'src/components/policy/policy_external/include')
-rw-r--r--src/components/policy/policy_external/include/policy/policy_manager_impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_manager_impl.h b/src/components/policy/policy_external/include/policy/policy_manager_impl.h
index a7bff16519..cd5c40134e 100644
--- a/src/components/policy/policy_external/include/policy/policy_manager_impl.h
+++ b/src/components/policy/policy_external/include/policy/policy_manager_impl.h
@@ -192,6 +192,11 @@ class PolicyManagerImpl : public PolicyManager {
inline CacheManagerInterfaceSPtr GetCache() {
return cache_;
}
+ inline void SetSendOnUpdateFlags(const bool send_on_update_sent_out,
+ const bool wrong_ptu_update_received) {
+ send_on_update_sent_out_ = send_on_update_sent_out;
+ wrong_ptu_update_received_ = wrong_ptu_update_received;
+ }
#endif // BUILD_TESTS
virtual const std::vector<std::string> GetAppRequestTypes(
@@ -483,6 +488,10 @@ class PolicyManagerImpl : public PolicyManager {
*/
RetrySequenceURL retry_sequence_url_;
friend struct ProccessAppGroups;
+
+ bool wrong_ptu_update_received_;
+ bool send_on_update_sent_out_;
+ bool trigger_ptu_;
};
} // namespace policy