diff options
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/command_request_impl.h')
-rw-r--r-- | src/components/application_manager/include/application_manager/commands/command_request_impl.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/command_request_impl.h b/src/components/application_manager/include/application_manager/commands/command_request_impl.h index 293366f91a..08b1c9cf28 100644 --- a/src/components/application_manager/include/application_manager/commands/command_request_impl.h +++ b/src/components/application_manager/include/application_manager/commands/command_request_impl.h @@ -236,8 +236,11 @@ class CommandRequestImpl : public CommandImpl, /** * @brief Checks message permissions and parameters according to policy table * permissions + * @param source The source of the command (used to determine if a response + * should be sent on failure) + * @return true if the RPC is allowed, false otherwise */ - bool CheckAllowedParameters(); + bool CheckAllowedParameters(const Command::CommandSource source); /** * @brief Checks HMI capabilities for specified button support @@ -248,11 +251,6 @@ class CommandRequestImpl : public CommandImpl, bool CheckHMICapabilities(const mobile_apis::ButtonName::eType button) const; /** - * @brief Remove from current message parameters disallowed by policy table - */ - void RemoveDisallowedParameters(); - - /** * @brief Adds disallowed parameters back to response with appropriate * reasons * @param response Response message, which should be extended with blocked @@ -375,8 +373,6 @@ class CommandRequestImpl : public CommandImpl, RequestState current_state_; sync_primitives::Lock state_lock_; - CommandParametersPermissions parameters_permissions_; - CommandParametersPermissions removed_parameters_permissions_; /** * @brief hash_update_mode_ Defines whether request must update hash value of |