diff options
author | Andrey Oleynik <aoleynik@luxoft.com> | 2017-08-20 13:11:13 +0300 |
---|---|---|
committer | Andrey Oleynik <aoleynik@luxoft.com> | 2017-08-21 16:01:05 +0300 |
commit | f97787a3299b1b83ab871aed55e3e5a01e9b392a (patch) | |
tree | ba24007634d6292a94131b7f32722ed2c12a9ed3 /src/components/policy/policy_external/include/policy | |
parent | 598e663556525b18ad56956d558fa3a1482091fd (diff) | |
download | sdl_core-f97787a3299b1b83ab871aed55e3e5a01e9b392a.tar.gz |
Removes non-primary RC groups processing from policy
Diffstat (limited to 'src/components/policy/policy_external/include/policy')
3 files changed, 0 insertions, 9 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_manager_impl.h b/src/components/policy/policy_external/include/policy/policy_manager_impl.h index e7ce18177c..6e3b98503d 100644 --- a/src/components/policy/policy_external/include/policy/policy_manager_impl.h +++ b/src/components/policy/policy_external/include/policy/policy_manager_impl.h @@ -210,7 +210,6 @@ class PolicyManagerImpl : public PolicyManager { void SendHMILevelChanged(const Subject& who); void OnPrimaryGroupsChanged(const std::string& application_id); - void OnNonPrimaryGroupsChanged(const std::string& application_id); #endif // SDL_REMOTE_CONTROL virtual void RemoveAppConsentForGroup(const std::string& app_id, diff --git a/src/components/policy/policy_external/include/policy/sql_pt_queries.h b/src/components/policy/policy_external/include/policy/sql_pt_queries.h index a4832aab26..5d75649c62 100644 --- a/src/components/policy/policy_external/include/policy/sql_pt_queries.h +++ b/src/components/policy/policy_external/include/policy/sql_pt_queries.h @@ -118,13 +118,10 @@ extern const std::string kUpdatePreloaded; extern const std::string kUpdateRemoteControlDenied; extern const std::string kSelectRemoteControlDenied; extern const std::string kDeleteAppGroupPrimaryByApplicationId; -extern const std::string kDeleteAppGroupNonPrimaryByApplicationId; extern const std::string kCollectFriendlyMsg; extern const std::string kSelectAppGroupsPrimary; -extern const std::string kSelectAppGroupsNonPrimary; extern const std::string kSelectModuleTypes; extern const std::string kInsertAppGroupPrimary; -extern const std::string kInsertAppGroupNonPrimary; extern const std::string kInsertModuleType; extern const std::string kInsertAccessModule; extern const std::string kSelectAccessModules; @@ -133,7 +130,6 @@ extern const std::string kInsertRemoteRpc; extern const std::string kSelectRemoteRpcs; extern const std::string kDeleteRemoteRpc; extern const std::string kDeleteAppGroupPrimary; -extern const std::string kDeleteAppGroupNonPrimary; extern const std::string kDeleteModuleTypes; extern const std::string kDeleteAllDevices; extern const std::string kSelectDBVersion; diff --git a/src/components/policy/policy_external/include/policy/sql_pt_representation.h b/src/components/policy/policy_external/include/policy/sql_pt_representation.h index 424769fb41..fc7f71e575 100644 --- a/src/components/policy/policy_external/include/policy/sql_pt_representation.h +++ b/src/components/policy/policy_external/include/policy/sql_pt_representation.h @@ -102,8 +102,6 @@ class SQLPTRepresentation : public virtual PTRepresentation { enum TypeAccess { kAllowed, kManual }; bool GatherAppGroupPrimary(const std::string& app_id, policy_table::Strings* app_groups) const; - bool GatherAppGroupNonPrimary(const std::string& app_id, - policy_table::Strings* app_groups) const; bool GatherModuleType(const std::string& app_id, policy_table::ModuleTypes* module_types) const; bool GatherRemoteControlDenied(const std::string& app_id, bool* denied) const; @@ -112,8 +110,6 @@ class SQLPTRepresentation : public virtual PTRepresentation { bool GatherRemoteRpc(int module_id, policy_table::RemoteRpcs* rpcs) const; bool SaveAppGroupPrimary(const std::string& app_id, const policy_table::Strings& app_groups); - bool SaveAppGroupNonPrimary(const std::string& app_id, - const policy_table::Strings& app_groups); bool SaveModuleType(const std::string& app_id, const policy_table::ModuleTypes& types); bool SaveRemoteControlDenied(const std::string& app_id, bool deny); |