[Download] refactoring module 55/167355/4
authorLukasz Bardeli <l.bardeli@samsung.com>
Fri, 26 Jan 2018 09:37:21 +0000 (10:37 +0100)
committerLukasz Bardeli <l.bardeli@samsung.com>
Fri, 26 Jan 2018 09:37:21 +0000 (10:37 +0100)
commit0f376b82154b662dbb3a43f82251c22a2af4c210
tree88e523ff89cd83256b8a08180ae5c3f42e30197e
parent50af78dc0d6af4b8ac7cda4b17c682c0c706f161
[Download] refactoring module

Remove setMessageListener from download_api.js and start using from utils_api.js
Remove method declarations from .cc file getDownloadRequest and setListener
Variable name changes
Delete element from callbacks after finished, cancel or failed download

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: Idcca394f4ec6bda7ea3097248a9c900b2a542f7a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
src/download/download_api.js
src/download/download_instance.cc
src/download/download_instance.h