Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: net/quic/quartc/quartc_at_exit.h

Issue 2324833004: Define Stable API for WebRTC/Quartc (Closed)
Patch Set: Fix the issues when testing with WebRTC. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698