summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy/cache_manager.h
diff options
context:
space:
mode:
authorIvo Stoilov (GitHub) <istoilov@luxoft.com>2017-02-15 18:32:09 +0200
committerokozlovlux <okozlov@luxoft.com>2017-05-17 19:27:10 +0300
commitf175409c5e370b6c5c8b67ec72214990a9268673 (patch)
tree1735dbb7f2d84939bef562a09413c641a0c1ff27 /src/components/policy/policy_regular/include/policy/cache_manager.h
parent458fa67468b2c10a7f8eb18277a83eb90c2f8004 (diff)
downloadsdl_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.h5
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.