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

Unified Diff: pkg/analyzer_plugin/lib/protocol/protocol_generated.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/protocol/protocol_generated.dart
diff --git a/pkg/analyzer_plugin/lib/protocol/protocol_generated.dart b/pkg/analyzer_plugin/lib/protocol/protocol_generated.dart
index 5341ca3b2ded17d2c2ea202ed4a057e5f97657b3..d4133643b505a66e7b4f8f295a9d21678ff7b101 100644
--- a/pkg/analyzer_plugin/lib/protocol/protocol_generated.dart
+++ b/pkg/analyzer_plugin/lib/protocol/protocol_generated.dart
@@ -453,8 +453,8 @@ class AnalysisHandleWatchEventsResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1089,8 +1089,8 @@ class AnalysisReanalyzeResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1279,8 +1279,8 @@ class AnalysisSetContextBuilderOptionsResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1396,8 +1396,8 @@ class AnalysisSetContextRootsResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1509,8 +1509,8 @@ class AnalysisSetPriorityFilesResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1634,8 +1634,8 @@ class AnalysisSetSubscriptionsResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -1761,8 +1761,8 @@ class AnalysisUpdateContentResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -2026,8 +2026,8 @@ class CompletionGetSuggestionsResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
@@ -2670,8 +2670,8 @@ class EditGetAssistsResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
@@ -2908,8 +2908,8 @@ class EditGetAvailableRefactoringsResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
@@ -3107,8 +3107,8 @@ class EditGetFixesResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
@@ -3604,8 +3604,8 @@ class EditGetRefactoringResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
@@ -5121,8 +5121,8 @@ class PluginShutdownResult implements ResponseResult {
Map<String, dynamic> toJson() => <String, dynamic>{};
@override
- Response toResponse(String id) {
- return new Response(id, result: null);
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: null);
}
@override
@@ -5467,8 +5467,8 @@ class PluginVersionCheckResult implements ResponseResult {
}
@override
- Response toResponse(String id) {
- return new Response(id, result: toJson());
+ Response toResponse(String id, int requestTime) {
+ return new Response(id, requestTime, result: toJson());
}
@override
« no previous file with comments | « pkg/analyzer_plugin/lib/protocol/protocol.dart ('k') | pkg/analyzer_plugin/lib/src/protocol/protocol_internal.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698