Index: pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart |
diff --git a/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart b/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart |
index 7033784e106e21dfa2162f63a514838214be904a..adb066467c9e75d30ae8ec51b03f9f9ef876eb99 100644 |
--- a/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart |
+++ b/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart |
@@ -471,6 +471,14 @@ class RequestDecoder extends JsonDecoder { |
} |
} |
+abstract class RequestParams implements HasToJson { |
+ /** |
+ * Return a request whose parameters are taken from this object and that has |
+ * the given [id]. |
+ */ |
+ Request toRequest(String id); |
+} |
+ |
/** |
* JsonDecoder for decoding responses from the server. This is intended to be |
* used only for testing. Errors are reported using bare [Exception] objects. |