From: Pawel Andruszkiewicz Date: Thu, 8 Oct 2015 12:38:40 +0000 (+0200) Subject: [Common] Removed unnecessary code. X-Git-Tag: submit/tizen/20151026.073646^2^2~39^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=543156c22eee8fe152be3decad8ba1f4ab43f3c8;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Common] Removed unnecessary code. [Verification] Code compiles, logic was not altered. Change-Id: Idffc67cf7dd4b4563fc7094b1853f1c14634da18 Signed-off-by: Pawel Andruszkiewicz --- diff --git a/src/common/task-queue.cpp b/src/common/task-queue.cpp index 342d5298..2fc305cd 100755 --- a/src/common/task-queue.cpp +++ b/src/common/task-queue.cpp @@ -64,11 +64,4 @@ void TaskQueue::Async(const std::function& work) { g_idle_add(AfterWorkCallback, d); } -//TODO check if it would be needed in future -//void TaskQueue::AsyncResponse(int callback_handle, const std::shared_ptr& response) { -// Async([callback_handle](const std::shared_ptr& response) { -// wrt::common::NativeContext::GetInstance()->InvokeCallback(callback_handle, -// response->serialize()); -// }, response); -//} } // namespace common diff --git a/src/common/task-queue.h b/src/common/task-queue.h index a9d6d472..94df2113 100755 --- a/src/common/task-queue.h +++ b/src/common/task-queue.h @@ -73,9 +73,6 @@ public: */ void Async(const std::function& work); - //TODO not needed now, but maybe in future -// void AsyncResponse(int callback_handle, const std::shared_ptr& response); - private: TaskQueue() {}