// Copyright 2021 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 "quiche/quic/core/quic_connection_context.h" #include "absl/base/attributes.h" namespace quic { namespace { ABSL_CONST_INIT thread_local QuicConnectionContext* current_context = …; } // namespace // static QuicConnectionContext* QuicConnectionContext::Current() { … } QuicConnectionContextSwitcher::QuicConnectionContextSwitcher( QuicConnectionContext* new_context) : … { … } QuicConnectionContextSwitcher::~QuicConnectionContextSwitcher() { … } } // namespace quic