> // DEPRECATED, use Value::FindKey(key) instead.
atom/browser/net/atom_network_delegate.cc
const std::string& client_id) {
  client_id_ = client_id;
}
int AtomNetworkDelegate::OnBeforeURLRequest(
    net::URLRequest* request,
    const net::CompletionCallback& callback,
    GURL* new_url) {
  if (!base::ContainsKey(response_listeners_, kOnBeforeRequest))
    return brightray::NetworkDelegate::OnBeforeURLRequest(request, callback,
                                                          new_url);
  return HandleResponseEvent(kOnBeforeRequest, request, callback, new_url);
}
int AtomNetworkDelegate::OnBeforeStartTransaction(
    net::URLRequest* request,
    const net::CompletionCallback& callback,
    net::HttpRequestHeaders* headers) {
  if (!client_id_.empty())
    headers->SetHeader(network::ThrottlingNetworkTransaction::
                           kDevToolsEmulateNetworkConditionsClientId,
                       client_id_);
  if (!base::ContainsKey(response_listeners_, kOnBeforeSendHeaders))
    return brightray::NetworkDelegate::OnBeforeStartTransaction(
        request, callback, headers);
  return HandleResponseEvent(kOnBeforeSendHeaders, request, callback, headers,
                             *headers);
}
void AtomNetworkDelegate::OnStartTransaction(