summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy/policy_manager_impl.h
diff options
context:
space:
mode:
authorokozlovlux <okozlov@luxoft.com>2017-02-20 19:16:07 +0200
committerokozlovlux <okozlov@luxoft.com>2017-05-17 19:27:11 +0300
commit6a3c65f64fb7e9e5a770476b3f664d57606af33a (patch)
treebc618e0ff31525d9157b1df098a5149efe557720 /src/components/policy/policy_regular/include/policy/policy_manager_impl.h
parent8aadc5d6d51b49c381fb89fd4b1fbfebec732cc3 (diff)
downloadsdl_core-6a3c65f64fb7e9e5a770476b3f664d57606af33a.tar.gz
Add functionality for External UCS
- added functionality for External UCS: ON by the User - added UTs for policices External UCS: ON by the User - added perstistence for external user consent status received from system Fix issuies for HTTP and PROPRIETARY mode in mock policy handler - fixed issues in mock policy handler - fix coding style
Diffstat (limited to 'src/components/policy/policy_regular/include/policy/policy_manager_impl.h')
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_manager_impl.h11
1 files changed, 8 insertions, 3 deletions
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 667ea2cb71..f37cbae76f 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
@@ -72,11 +72,12 @@ class PolicyManagerImpl : public PolicyManager {
virtual std::string GetLockScreenIconUrl() const;
virtual bool RequestPTUpdate();
- virtual void CheckPermissions(const PTString& app_id,
+ virtual void CheckPermissions(const PTString& device_id,
+ const PTString& app_id,
const PTString& hmi_level,
const PTString& rpc,
const RPCParams& rpc_params,
- CheckPermissionResult& result);
+ CheckPermissionResult& result) OVERRIDE;
virtual bool ResetUserConsent();
virtual void KmsChanged(int kilometers);
virtual void IncrementIgnitionCycles();
@@ -172,7 +173,9 @@ class PolicyManagerImpl : public PolicyManager {
bool CanAppStealFocus(const std::string& app_id) const;
void MarkUnpairedDevice(const std::string& device_id);
- StatusNotifier AddApplication(const std::string& application_id);
+ StatusNotifier AddApplication(
+ const std::string& application_id,
+ const rpc::policy_table_interface_base::AppHmiTypes& hmi_types);
virtual void RemoveAppConsentForGroup(const std::string& app_id,
const std::string& group_name);
@@ -203,6 +206,8 @@ class PolicyManagerImpl : public PolicyManager {
virtual std::string RetrieveCertificate() const OVERRIDE;
+ virtual bool HasCertificate() const OVERRIDE;
+
AppIdURL GetNextUpdateUrl(const EndpointUrls& urls) OVERRIDE;
AppIdURL RetrySequenceUrl(const struct RetrySequenceURL& rs,