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

Unified Diff: runtime/observatory/lib/src/models/objects/vm.dart

Issue 2783933002: Fix many warnings/errors when building Observatory (Closed)
Patch Set: Created 3 years, 9 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: runtime/observatory/lib/src/models/objects/vm.dart
diff --git a/runtime/observatory/lib/src/models/objects/vm.dart b/runtime/observatory/lib/src/models/objects/vm.dart
index 05e1bba8531ba410fac08903511156672273b0b0..f1f50885943e406fe82fa71a6b5fb5465e36e42b 100644
--- a/runtime/observatory/lib/src/models/objects/vm.dart
+++ b/runtime/observatory/lib/src/models/objects/vm.dart
@@ -13,7 +13,11 @@ abstract class VMRef {
String get displayName;
}
-abstract class VM implements VMRef {
+abstract class ServiceObjectOwner {
+ Future<dynamic> invokeRpc(String method, Map params);
+}
+
+abstract class VM implements VMRef, ServiceObjectOwner {
/// Word length on target architecture (e.g. 32, 64).
int get architectureBits;

Powered by Google App Engine
This is Rietveld 408576698