- Fixes header guards properly
- Removes unnecessary header inclusion
- Removes unused method
Change-Id: Id7fcc4b985f094225ea1d3c45b0251a0eb9b8e4b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
return ret;
}
-// LCOV_EXCL_START
-int AccessController::SetCache(const std::string& sender) {
- return -1;
-}
-// LCOV_EXCL_STOP
-
AccessController::Cynara::Cynara()
: cynara_(nullptr, cynara_finish), client_(nullptr, std::free),
user_(nullptr, std::free) {
std::unique_ptr<char, decltype(std::free)*> user_;
};
- int SetCache(const std::string& sender);
int CheckTrusted(const std::string& sender_appid);
int CheckPrivilege(const Cynara& c);
* limitations under the License.
*/
-#include <gio/gio.h>
-#include <glib-unix.h>
-
-#include <memory>
-
#include "log-private.hh"
#include "message-sending-thread-internal.hh"
* limitations under the License.
*/
-#ifndef MESSAGE_SENDING_THREAD_HH_
-#define MESSAGE_SENDING_THREAD_HH_
+#ifndef MESSAGE_SENDING_THREAD_INTERNAL_HH_
+#define MESSAGE_SENDING_THREAD_INTERNAL_HH_
#include <gio/gio.h>
-#include <glib-unix.h>
+#include <glib.h>
#include <condition_variable>
#include <functional>
} // namespace internal
} // namespace rpc_port
-#endif // MESSAGE_SENDING_THREAD_HH_
+#endif // MESSAGE_SENDING_THREAD_INTERNAL_HH_