1
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_PERMISSION_MANAGER_H_
2
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_PERMISSION_MANAGER_H_
4
#include "com/ubuntu/location/channel.h"
5
#include "com/ubuntu/location/provider_selection_policy.h"
23
class PermissionManager
26
typedef std::shared_ptr<PermissionManager> Ptr;
34
virtual ~PermissionManager() = default;
35
PermissionManager(const PermissionManager&) = delete;
36
PermissionManager& operator=(const PermissionManager&) = delete;
38
virtual Result check_permission_for_credentials(
39
const Criteria& criteria,
40
const Credentials& credentials) = 0;
43
PermissionManager() = default;
49
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_PERMISSION_MANAGER_H_