// 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. // Decodes the packet HandshakeFailureReason from the chromium histogram // Net.QuicClientHelloRejectReasons #include <iostream> #include <string> #include <vector> #include "absl/strings/numbers.h" #include "quiche/quic/core/crypto/crypto_handshake.h" #include "quiche/quic/core/crypto/crypto_utils.h" #include "quiche/quic/platform/api/quic_flags.h" #include "quiche/common/platform/api/quiche_command_line_flags.h" #include "quiche/common/quiche_text_utils.h" CryptoUtils; HandshakeFailureReason; MAX_FAILURE_REASON; int main(int argc, char* argv[]) { … }