summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2019-04-08 12:47:46 -0400
committerJackLivio <jack@livio.io>2019-04-08 12:47:46 -0400
commit839cdf8dbf3efaebeb43e905ccd0f067e165cf2b (patch)
tree2b9122256313b028468f55c7e3f17c54e65488d1 /src/components/policy/policy_regular/include/policy/cache_manager_interface.h
parent53fc68a800da61123a1e5f34d17912e01630060c (diff)
downloadsdl_core-839cdf8dbf3efaebeb43e905ccd0f067e165cf2b.tar.gz
Add new app policy property: allow_unknown_rpc_pass_through
Diffstat (limited to 'src/components/policy/policy_regular/include/policy/cache_manager_interface.h')
-rw-r--r--src/components/policy/policy_regular/include/policy/cache_manager_interface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/policy/policy_regular/include/policy/cache_manager_interface.h b/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
index 6f6c8f97ab..27a66215be 100644
--- a/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
+++ b/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
@@ -247,6 +247,14 @@ class CacheManagerInterface {
policy_table::AppServiceParameters* app_service_parameters) const = 0;
/**
+ * @brief Check if an app can send unknown rpc requests to an app service
+ * provider
+ * @param policy_app_id Unique application id
+ */
+ virtual bool UnknownRPCPassThroughAllowed(
+ const std::string& policy_app_id) const = 0;
+
+ /**
* @brief Allows to update 'vin' field in module_meta table.
*
* @param new 'vin' value.