Web Inspector: Keep Web Inspector window alive across process swaps (PSON) (Local...
[WebKit-https.git] / Source / JavaScriptCore / inspector / InspectorFrontendChannel.h
index 3abc1d2..bec5a6a 100644 (file)
@@ -46,3 +46,15 @@ public:
 };
 
 } // namespace Inspector
+
+namespace WTF {
+
+template<> struct EnumTraits<Inspector::FrontendChannel::ConnectionType> {
+    using values = EnumValues<
+        Inspector::FrontendChannel::ConnectionType,
+        Inspector::FrontendChannel::ConnectionType::Remote,
+        Inspector::FrontendChannel::ConnectionType::Local
+    >;
+};
+
+} // namespace WTF