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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/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/tests/observatory_ui/mocks/objects/vm.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
index 0d604730a54c8e7dd21fcb6c7b09ffee74a1c3db..1b9db5591fb76c26205c4fca54c9efb09e93cdab 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
@@ -21,6 +21,13 @@ class VMMock implements M.VM {
final int maxRSS;
final DateTime startTime;
final Iterable<M.IsolateRef> isolates;
+ final int nativeZoneMemoryUsage = 0;
+ final int heapAllocatedMemoryUsage = 0;
+ final int heapAllocationCount = 0;
+
+ Future<dynamic> invokeRpc(String method, Map params) {
+ return null;
+ }
const VMMock(
{this.name: 'vm-name',

Powered by Google App Engine
This is Rietveld 408576698