diff options
author | Ivo Stoilov (GitHub) <istoilov@luxoft.com> | 2017-02-15 18:32:09 +0200 |
---|---|---|
committer | okozlovlux <okozlov@luxoft.com> | 2017-05-17 19:27:10 +0300 |
commit | f175409c5e370b6c5c8b67ec72214990a9268673 (patch) | |
tree | 1735dbb7f2d84939bef562a09413c641a0c1ff27 /src/components/policy/policy_regular/include/policy/cache_manager.h | |
parent | 458fa67468b2c10a7f8eb18277a83eb90c2f8004 (diff) | |
download | sdl_core-f175409c5e370b6c5c8b67ec72214990a9268673.tar.gz |
Add new external UCS-related params in PTU, PreloadedPT, SnapshotPT
- added perstistence for external user consent status
- fixed failed UTs
Diffstat (limited to 'src/components/policy/policy_regular/include/policy/cache_manager.h')
-rw-r--r-- | src/components/policy/policy_regular/include/policy/cache_manager.h | 5 |
1 files changed, 3 insertions, 2 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 47d8e69551..1bd506656c 100644 --- a/src/components/policy/policy_regular/include/policy/cache_manager.h +++ b/src/components/policy/policy_regular/include/policy/cache_manager.h @@ -593,12 +593,13 @@ class CacheManager : public CacheManagerInterface { /** * @brief MergePreloadPT allows to load policy table from certain JSON file, * and then decide if merge is needed. The merge is needed in case when - *preload + * preload * JSON date is different than current database. * * @param file_name the preloaded policy table JSON file. + * @return false in case of invalid preloaded_pt */ - void MergePreloadPT(const std::string& file_name); + bool MergePreloadPT(const std::string& file_name); /** * @brief MergeMC allows to merge ModuleConfig section by definite rules. |