auto wrapped_callback = listener_info->second.callback;
auto details = ExtractRequestInfo(request);
- details->Set("requestHeaders", GetRequestHeadersDict(*headers).release());
+ details->Set("requestHeaders", GetRequestHeadersDict(*headers).get());
BrowserThread::PostTaskAndReplyWithResult(BrowserThread::UI, FROM_HERE,
base::Bind(&RunListener, wrapped_callback, base::Passed(&details)),
auto wrapped_callback = listener_info->second.callback;
auto details = ExtractRequestInfo(request);
- details->Set("requestHeaders", GetRequestHeadersDict(headers).release());
+ details->Set("requestHeaders", GetRequestHeadersDict(headers).get());
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(base::IgnoreResult(&RunListener),
details->SetInteger("statusCode",
original_response_headers->response_code());
details->Set("responseHeaders",
- GetResponseHeadersDict(original_response_headers).release());
+ GetResponseHeadersDict(original_response_headers).get());
BrowserThread::PostTaskAndReplyWithResult(BrowserThread::UI, FROM_HERE,
base::Bind(&RunListener, wrapped_callback, base::Passed(&details)),
details->SetString("ip", ip);
details->SetBoolean("fromCache", request->was_cached());
details->Set("responseHeaders",
- GetResponseHeadersDict(request->response_headers()).release());
+ GetResponseHeadersDict(request->response_headers()).get());
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(base::IgnoreResult(&RunListener),
auto wrapped_callback = listener_info->second.callback;
auto details = ExtractRequestInfo(request);
details->Set("responseHeaders",
- GetResponseHeadersDict(request->response_headers()).release());
+ GetResponseHeadersDict(request->response_headers()).get());
details->SetBoolean("fromCache", request->was_cached());
auto response_headers = request->response_headers();
auto wrapped_callback = listener_info->second.callback;
auto details = ExtractRequestInfo(request);
details->Set("responseHeaders",
- GetResponseHeadersDict(request->response_headers()).release());
+ GetResponseHeadersDict(request->response_headers()).get());
details->SetBoolean("fromCache", request->was_cached());
auto response_headers = request->response_headers();