Commit 27522f43 authored by Ryan Hamilton's avatar Ryan Hamilton Committed by Commit Bot

Remove unused QUIC files.

Change-Id: Ie696c5ccaee3c9aba76065383ea04b976f002c7c
Reviewed-on: https://chromium-review.googlesource.com/1110887Reviewed-by: default avatarZhongyi Shi <zhongyi@chromium.org>
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569426}
parent e092b1bd
// 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.
#include "net/third_party/quic/core/frames/quic_ietf_blocked_frame.h"
namespace quic {
QuicIetfBlockedFrame::QuicIetfBlockedFrame() {}
QuicIetfBlockedFrame::QuicIetfBlockedFrame(QuicControlFrameId control_frame_id,
QuicStreamOffset offset)
: QuicControlFrame(control_frame_id), offset(offset) {}
std::ostream& operator<<(std::ostream& os, const QuicIetfBlockedFrame& frame) {
os << "{ control_frame_id: " << frame.control_frame_id
<< ", offset: " << frame.offset << " }\n";
return os;
}
} // namespace quic
// 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_THIRD_PARTY_QUIC_CORE_FRAMES_QUIC_IETF_BLOCKED_FRAME_H_
#define NET_THIRD_PARTY_QUIC_CORE_FRAMES_QUIC_IETF_BLOCKED_FRAME_H_
#include <ostream>
#include "net/third_party/quic/core/frames/quic_control_frame.h"
namespace quic {
// IETF format BLOCKED frame.
// The sender uses the BLOCKED frame to inform the receiver that the
// sender is unable to send data because of connection-level flow control.
struct QUIC_EXPORT_PRIVATE QuicIetfBlockedFrame : public QuicControlFrame {
QuicIetfBlockedFrame();
QuicIetfBlockedFrame(QuicControlFrameId control_frame_id,
QuicStreamOffset offset);
friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(
std::ostream& os,
const QuicIetfBlockedFrame& frame);
// Offset at which the BLOCKED applies
QuicStreamOffset offset;
};
} // namespace quic
#endif // NET_THIRD_PARTY_QUIC_CORE_FRAMES_QUIC_IETF_BLOCKED_FRAME_H_
// Copyright (c) 2012 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_THIRD_PARTY_QUIC_CORE_QUIC_IOVECTOR_H_
#define NET_THIRD_PARTY_QUIC_CORE_QUIC_IOVECTOR_H_
#include <cstddef>
#include "net/base/iovec.h"
#include "net/third_party/quic/platform/api/quic_export.h"
namespace quic {
// Convenience wrapper to wrap an iovec array and the total length, which must
// be less than or equal to the actual total length of the iovecs.
struct QUIC_EXPORT_PRIVATE QuicIOVector {
QuicIOVector(const struct iovec* iov, int iov_count, size_t total_length)
: iov(iov), iov_count(iov_count), total_length(total_length) {}
const struct iovec* iov;
const int iov_count;
const size_t total_length;
};
} // namespace quic
#endif // NET_THIRD_PARTY_QUIC_CORE_QUIC_IOVECTOR_H_
// Copyright (c) 2012 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.
#include "base/test/test_suite.h"
int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);
return test_suite.Run();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment