*
* The file contains the definition of FWebCtrlWebStorageManager class.
*/
+#include <pthread.h>
#include <unique_ptr.h>
#include <FBaseColIList.h>
#include <FBaseSysLog.h>
WebStorageManager::WebStorageManager(void)
: __pWebStorageManagerImpl(null)
{
- result r = E_SUCCESS;
-
std::unique_ptr<_WebStorageManagerImpl> pWebStorageManagerImpl(new (std::nothrow) _WebStorageManagerImpl());
SysTryReturnVoidResult(NID_WEB_CTRL, pWebStorageManagerImpl.get(), E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
WebStorageManager::~WebStorageManager(void)
{
+ delete __pWebStorageManagerImpl;
+ __pWebStorageManagerImpl = null;
}
ClearLastResult();
result r = E_SUCCESS;
-
+
r = _AccessController::CheckUserPrivilege(_PRV_WEB_PRIVACY);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, null, E_PRIVILEGE_DENIED, "[%s] The application does not have the privilege to call this method.", GetErrorMessage(E_PRIVILEGE_DENIED));
}
-}}} // Tizen::Web::Controls
\ No newline at end of file
+}}} // Tizen::Web::Controls