X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fxwalk%2Fapplication%2Fcommon%2Ftizen%2Fcookie_manager.cc;h=53a22e022d9406cf4da30ce1a413364d6f988596;hb=cd8c88ae33a568451d25f62aaa35bcf33252076c;hp=954fef5f64b8853cb89efe8cdb588d78d5277b71;hpb=a5108fcda22462462a0c9692e802750284d31512;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/xwalk/application/common/tizen/cookie_manager.cc b/src/xwalk/application/common/tizen/cookie_manager.cc index 954fef5..53a22e0 100644 --- a/src/xwalk/application/common/tizen/cookie_manager.cc +++ b/src/xwalk/application/common/tizen/cookie_manager.cc @@ -19,9 +19,9 @@ namespace xwalk { CookieManager::CookieManager( const std::string& app_id, - RuntimeContext* runtime_context) + XWalkBrowserContext* browser_context) : app_id_(app_id), - runtime_context_(runtime_context) { + browser_context_(browser_context) { } void CookieManager::CookieDeleted(bool success) { @@ -31,7 +31,7 @@ void CookieManager::CookieDeleted(bool success) { void CookieManager::DeleteSessionOnlyOriginCookies( const net::CookieList& cookies) { - net::URLRequestContext* request_context = runtime_context_-> + net::URLRequestContext* request_context = browser_context_-> GetURLRequestContextGetterById( std::string(app_id_))->GetURLRequestContext(); if (!request_context) @@ -50,7 +50,7 @@ void CookieManager::DeleteCookiesOnIOThread( const std::string& url, const std::string& cookie_name) { DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); - net::URLRequestContext* request_context = runtime_context_-> + net::URLRequestContext* request_context = browser_context_-> GetURLRequestContextGetterById(app_id_)->GetURLRequestContext(); net::CookieStore* cookie_store = request_context->cookie_store(); cookie_store->GetCookieMonster()->GetAllCookiesAsync(