diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-06 10:50:46 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2019-03-06 10:50:46 -0500 |
commit | 7b2af762ed58252c2d01a6a3bc1dc4a8ec13f5da (patch) | |
tree | f017fc43fbdd3b6767a16735dc6872f60788b4c8 /src/components/policy/policy_regular/include | |
parent | 7a08eafdfe80eab35ac56d3694ddc993d73b871a (diff) | |
download | sdl_core-7b2af762ed58252c2d01a6a3bc1dc4a8ec13f5da.tar.gz |
Revert "Remove setAppName"
This reverts commit e258587fad7340ff25e503e7beef3ee51e290f45.
Diffstat (limited to 'src/components/policy/policy_regular/include')
3 files changed, 20 insertions, 0 deletions
diff --git a/src/components/policy/policy_regular/include/policy/cache_manager.h b/src/components/policy/policy_regular/include/policy/cache_manager.h index 3b3c941b20..b6b6691985 100644 --- a/src/components/policy/policy_regular/include/policy/cache_manager.h +++ b/src/components/policy/policy_regular/include/policy/cache_manager.h @@ -216,6 +216,13 @@ class CacheManager : public CacheManagerInterface { const std::string& endpoint); /** + * @brief Set a cloud app's name + * @param app_name Nickname for cloud app + */ + virtual void SetAppName(const std::string& policy_app_id, + const std::string& app_name); + + /** * @brief Set the user preference for how a hybrid (cloud and mobile) app * should be used * @param hybrid_app_preference Hybrid app user preference 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 a50127d141..13479f7595 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 @@ -222,6 +222,12 @@ class CacheManagerInterface { const std::string& endpoint) = 0; /** + * @brief Set a cloud app's name + * @param app_name Nickname for cloud app + */ + virtual void SetAppName(const std::string& policy_app_id, + const std::string& app_name) = 0; + /** * @brief Set the user preference for how a hybrid (cloud and mobile) app * should be used * @param hybrid_app_preference Hybrid app user preference 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 357d3f1c87..5e46ff9fa1 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 @@ -642,6 +642,13 @@ class PolicyManagerImpl : public PolicyManager { const std::string& endpoint) OVERRIDE; /** + * @brief Set a cloud app's name + * @param app_name Nickname for cloud app + */ + void SetAppName(const std::string& policy_app_id, + const std::string& app_name) OVERRIDE; + + /** * @brief Set the user preference for how a hybrid (cloud and mobile) app * should be used * @param hybrid_app_preference Hybrid app user preference |