summaryrefslogtreecommitdiff
path: root/src/components/include/application_manager/policies
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-11-15 15:54:08 -0500
committerjacobkeeler <jacob.keeler@livioradio.com>2018-11-15 16:28:30 -0500
commit5f3cf62d06049b9ee64a75d205581914c4c90929 (patch)
treea63afef901ecf8f8103a031a5c9004ebb905fd4a /src/components/include/application_manager/policies
parentbf9a8789f419d054e2ad920725c2079f9d511c15 (diff)
downloadsdl_core-5f3cf62d06049b9ee64a75d205581914c4c90929.tar.gz
Address review commentsfeature/cloud_app_policies
Diffstat (limited to 'src/components/include/application_manager/policies')
-rw-r--r--src/components/include/application_manager/policies/policy_handler_interface.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/include/application_manager/policies/policy_handler_interface.h b/src/components/include/application_manager/policies/policy_handler_interface.h
index ddeb1da8f7..8c8a12ced3 100644
--- a/src/components/include/application_manager/policies/policy_handler_interface.h
+++ b/src/components/include/application_manager/policies/policy_handler_interface.h
@@ -459,7 +459,8 @@ class PolicyHandlerInterface {
* @brief Get cloud app policy information, all fields that aren't set for a
* given app will be filled with empty strings
* @param policy_app_id Unique application id
- * @param endpoint Filled the endpoint used to connect to the cloud
+ * @param enabled Whether or not the app is enabled
+ * @param endpoint Filled with the endpoint used to connect to the cloud
* application
* @param certificate Filled with the certificate used to for creating a
* secure connection to the cloud application
@@ -467,12 +468,12 @@ class PolicyHandlerInterface {
* reconnecting to the cloud app
* @param cloud_transport_type Filled with the transport type used by the
* cloud application (ex. "WSS")
- * @param cloud_transport_type Filled with the hybrid app preference for the
+ * @param hybrid_app_preference Filled with the hybrid app preference for the
* cloud application set by the user
- * @return true if the cloud app is enabled, false otherwise
*/
- virtual const bool GetCloudAppParameters(
+ virtual void GetCloudAppParameters(
const std::string& policy_app_id,
+ bool& enabled,
std::string& endpoint,
std::string& certificate,
std::string& auth_token,