> // DEPRECATED, use Value::FindKey(key) instead.
atom/browser/net/atom_network_delegate.cc
const GURL& new_location) {
  if (!base::ContainsKey(simple_listeners_, kOnBeforeRedirect)) {
    brightray::NetworkDelegate::OnBeforeRedirect(request, new_location);
    return;
  }
  HandleSimpleEvent(kOnBeforeRedirect, request, new_location,
                    request->response_headers(), request->GetSocketAddress(),
                    request->was_cached());
}
void AtomNetworkDelegate::OnResponseStarted(net::URLRequest* request,
                                            int net_error) {
  if (!base::ContainsKey(simple_listeners_, kOnResponseStarted)) {
    brightray::NetworkDelegate::OnResponseStarted(request, net_error);
    return;
  }
  if (request->status().status() != net::URLRequestStatus::SUCCESS)
    return;
  HandleSimpleEvent(kOnResponseStarted, request, request->response_headers(),
                    request->was_cached());
}
void AtomNetworkDelegate::OnCompleted(net::URLRequest* request, bool started) {