blob: d330e91a3f0abc4d2f4c034dabc4f843e803b889 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_BASE_NET_ERROR_DETAILS_H_
#define NET_BASE_NET_ERROR_DETAILS_H_
#include "net/base/net_errors.h"
namespace net {
// A record of net errors with granular error specification generated by
// net stack.
struct NET_EXPORT NetErrorDetails {
NetErrorDetails() : quic_broken(false) {}
NetErrorDetails(bool quic_broken) : quic_broken(quic_broken) {}
// True if all QUIC alternative services are marked broken for the origin.
bool quic_broken;
};
} // namespace net
#endif