function mycallback(error, cookies)
    {
        if (error)
            return;
        callback(cookies.map(WebInspector.Cookies.buildCookieProtocolObject));
    }
@param {?Protocol.Error} error
@param {!Array.<!PageAgent.Cookie>} cookies