// This function would be called by the application if it wants to put up a dialog box to // display the currently recognized cookies for a URI. This is not currently called by // the transport system prior to sending an HTTP page request. As of this writing, our // application doesn't call this function. String cookies(const Document* /*document*/, const KURL& url) { EA::WebKit::CookieManager* cookieManager = WKAL::ResourceHandleManager::sharedInstance()->GetCookieManager(); if(cookieManager) { EA::WebKit::FixedString8_256 cookieStr8 = cookieManager->GetCookieTextForURL(url,true); //EA::WebKit::FixedString16_256 cookieStr16; //EA::WebKit::ConvertToString16(cookieStr8, cookieStr16); //String cookieStr(cookieStr16.c_str()); return String(cookieStr8.c_str()); } else { return String(); } }