diff --git a/proxygen/lib/ssl/ThreadLocalSSLContext.h b/proxygen/lib/ssl/ThreadLocalSSLContext.h deleted file mode 100644 index cb2626fbd0..0000000000 --- a/proxygen/lib/ssl/ThreadLocalSSLContext.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. - */ - -#pragma once - -#include - -namespace proxygen { - -template -class Versioned : public T { - public: - using T::T; - - uint64_t getVersion() const { - return version_; - } - - private: - friend class ClientContextConfig; - uint64_t version_ = 0; -}; - -class ThreadLocalSSLContext { - public: - using VersionedSSLContext = Versioned; - - /** - * Get a SSLContext that is cached lazily. - */ - virtual std::shared_ptr getSSLContext() const = 0; - - virtual ~ThreadLocalSSLContext() { - } -}; - -} // namespace proxygen