blob: c2f4e74cc371ade5c98f10cb57235930e893bb09 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright (c) 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "net/third_party/quiche/src/quic/core/frames/quic_new_token_frame.h"
6#include "net/third_party/quiche/src/quic/core/quic_constants.h"
7#include "net/third_party/quiche/src/quic/platform/api/quic_logging.h"
8
9namespace quic {
10
11QuicNewTokenFrame::QuicNewTokenFrame()
12 : control_frame_id(kInvalidControlFrameId) {}
13
14QuicNewTokenFrame::QuicNewTokenFrame(QuicControlFrameId control_frame_id,
15 QuicString token)
16 : control_frame_id(control_frame_id), token(token) {}
17
18std::ostream& operator<<(std::ostream& os, const QuicNewTokenFrame& s) {
19 os << "{ control_frame_id: " << s.control_frame_id << ", token: " << s.token
20 << " }\n";
21 return os;
22}
23
24} // namespace quic