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

Unified Diff: pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart

Issue 2890163004: Add requestTime to responses (Closed)
Patch Set: Created 3 years, 7 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: 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 75d093c6601c21ba1f962f3c1cdf9df76514ca3b..6c03ebbb1af6767dc3125ea63e5bc49abdc24b20 100644
--- a/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart
+++ b/pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart
@@ -517,7 +517,7 @@ class ResponseDecoder extends JsonDecoder {
abstract class ResponseResult implements HasToJson {
/**
* Return a response whose result data is this object for the request with the
- * given [id].
+ * given [id], where the request was received at the given [requestTime].
*/
- Response toResponse(String id);
+ Response toResponse(String id, int requestTime);
}

Powered by Google App Engine
This is Rietveld 408576698