| Index: net/quic/core/frames/quic_connection_close_frame.h
|
| diff --git a/net/quic/core/frames/quic_connection_close_frame.h b/net/quic/core/frames/quic_connection_close_frame.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..011878462a4251e4514f904c22a8d9470dfe3b38
|
| --- /dev/null
|
| +++ b/net/quic/core/frames/quic_connection_close_frame.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2016 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_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_
|
| +#define NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_
|
| +
|
| +#include <ostream>
|
| +#include <string>
|
| +
|
| +#include "net/base/net_export.h"
|
| +#include "net/quic/core/quic_error_codes.h"
|
| +
|
| +namespace net {
|
| +
|
| +struct NET_EXPORT_PRIVATE QuicConnectionCloseFrame {
|
| + QuicConnectionCloseFrame();
|
| +
|
| + friend NET_EXPORT_PRIVATE std::ostream& operator<<(
|
| + std::ostream& os,
|
| + const QuicConnectionCloseFrame& c);
|
| +
|
| + QuicErrorCode error_code;
|
| + std::string error_details;
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_QUIC_CORE_FRAMES_QUIC_CONNECTION_CLOSE_FRAME_H_
|
|
|