diff options
Diffstat (limited to 'src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h')
-rw-r--r-- | src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h b/src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h index 9f784a395..7589be4f6 100644 --- a/src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h +++ b/src/components/policy/src/policy/include/policy/sql_pt_ext_representation.h @@ -121,7 +121,7 @@ class SQLPTExtRepresentation : public SQLPTRepresentation, bool SetPredataPolicy(const std::string& app_id); bool SetIsPredata(const std::string& app_id, bool is_pre_data); bool IsPredataPolicy(const std::string& app_id) const; - bool SetUnpairedDevice(const std::string& device_id) const; + bool SetUnpairedDevice(const std::string& device_id, bool unpaired) const; bool UnpairedDevicesList(DeviceIds* device_ids) const; bool RemoveAppConsentForGroup( const std::string& policy_app_id, @@ -156,6 +156,12 @@ class SQLPTExtRepresentation : public SQLPTRepresentation, virtual bool SaveUsageAndErrorCounts( const policy_table::UsageAndErrorCounts& counts); + virtual bool SaveModuleMeta(const policy_table::ModuleMeta& meta); + + bool SaveAppCounters(const policy_table::AppLevels& app_levels); + + bool SaveGlobalCounters(const policy_table::UsageAndErrorCounts& counts); + bool IsExistAppLevel(const std::string& app_id) const; bool GetAllAppGroups(const std::string& policy_app_id, |