Index: net/quic/quartc/quartc_at_exit.h |
diff --git a/net/quic/quartc/quartc_at_exit.h b/net/quic/quartc/quartc_at_exit.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6623690ccef7b02c0345b82db4b8780ef927d5f2 |
--- /dev/null |
+++ b/net/quic/quartc/quartc_at_exit.h |
@@ -0,0 +1,27 @@ |
+// 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_QUIC_QUARTC_QUARTC_AT_EXIT_H_ |
+#define NET_QUIC_QUARTC_QUARTC_AT_EXIT_H_ |
+ |
+#include "base/at_exit.h" |
+#include "net/quic/quartc/quartc_at_exit_interface.h" |
+ |
+namespace net { |
+ |
+class NET_EXPORT_PRIVATE QuartcAtExitManager |
+ : public QuartcAtExitManagerInterface { |
+ public: |
+ QuartcAtExitManager(); |
+ ~QuartcAtExitManager() override; |
+ |
+ void SetAtExitManager(bool test_mode) override; |
+ |
+ private: |
+ std::unique_ptr<base::AtExitManager> at_exit_manager_; |
+}; |
+ |
+} // namespace net |
+ |
+#endif // NET_QUIC_QUARTC_QUARTC_AT_EXIT_H_ |