diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2017-05-11 13:16:57 +0300 |
---|---|---|
committer | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2017-05-11 13:25:59 +0300 |
commit | acfcca4334380d770afd43aef88809971aa14d52 (patch) | |
tree | cac85fdd26b4461471a5a07837cd6629b498f961 /src | |
parent | 48286ff96a26b693db89193d8c849d5a5695395b (diff) | |
download | sdl_core-acfcca4334380d770afd43aef88809971aa14d52.tar.gz |
Fix codestyle
Diffstat (limited to 'src')
4 files changed, 6 insertions, 8 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 f68c191239..2d64a5a4e1 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 @@ -209,6 +209,7 @@ class PolicyManagerImpl : public PolicyManager { AppIdURL RetrySequenceUrl(const struct RetrySequenceURL& rs, const EndpointUrls& urls) const OVERRIDE; + protected: virtual utils::SharedPtr<policy_table::Table> Parse( const BinaryMessage& pt_content); diff --git a/src/components/policy/policy_external/src/policy_manager_impl.cc b/src/components/policy/policy_external/src/policy_manager_impl.cc index 3abf02927c..708be00660 100644 --- a/src/components/policy/policy_external/src/policy_manager_impl.cc +++ b/src/components/policy/policy_external/src/policy_manager_impl.cc @@ -67,8 +67,7 @@ PolicyManagerImpl::PolicyManagerImpl() , retry_sequence_timeout_(60) , retry_sequence_index_(0) , ignition_check(true) - , retry_sequence_url_(0, 0, "") { -} + , retry_sequence_url_(0, 0, "") {} PolicyManagerImpl::PolicyManagerImpl(bool in_memory) : PolicyManager() @@ -77,8 +76,7 @@ PolicyManagerImpl::PolicyManagerImpl(bool in_memory) , retry_sequence_timeout_(60) , retry_sequence_index_(0) , ignition_check(true) - , retry_sequence_url_(0, 0, "") { -} + , retry_sequence_url_(0, 0, "") {} void PolicyManagerImpl::set_listener(PolicyListener* listener) { listener_ = listener; diff --git a/src/components/policy/policy_regular/include/policy/policy_manager_impl.h b/src/components/policy/policy_regular/include/policy/policy_manager_impl.h index 28947a6343..fec05e0724 100644 --- a/src/components/policy/policy_regular/include/policy/policy_manager_impl.h +++ b/src/components/policy/policy_regular/include/policy/policy_manager_impl.h @@ -173,7 +173,6 @@ class PolicyManagerImpl : public PolicyManager { StatusNotifier AddApplication(const std::string& application_id); - virtual void RemoveAppConsentForGroup(const std::string& app_id, const std::string& group_name); diff --git a/src/components/policy/policy_regular/src/policy_manager_impl.cc b/src/components/policy/policy_regular/src/policy_manager_impl.cc index b73aea71ba..9aac892300 100644 --- a/src/components/policy/policy_regular/src/policy_manager_impl.cc +++ b/src/components/policy/policy_regular/src/policy_manager_impl.cc @@ -77,8 +77,7 @@ PolicyManagerImpl::PolicyManagerImpl() new timer::TimerTaskImpl<PolicyManagerImpl>( this, &PolicyManagerImpl::RetrySequence)) , ignition_check(true) - , retry_sequence_url_(0, 0, "") { -} + , retry_sequence_url_(0, 0, "") {} void PolicyManagerImpl::set_listener(PolicyListener* listener) { listener_ = listener; @@ -316,7 +315,8 @@ void PolicyManagerImpl::StartPTExchange() { if (RequestPTUpdate() && !timer_retry_sequence_.is_running()) { // Start retry sequency const int timeout_sec = NextRetryTimeout(); - LOG4CXX_DEBUG(logger_, "Start retry sequence timeout = " << timeout_sec); + LOG4CXX_DEBUG(logger_, + "Start retry sequence timeout = " << timeout_sec); timer_retry_sequence_.Start(timeout_sec, timer::kPeriodic); } } |