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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/objects/code.dart

Issue 2306483002: Converted Observatory code-view element (Closed)
Patch Set: Fixed tables headers Created 4 years, 3 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
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
index 4ba031828046cdb2bde26df486cb5e2f2fd156d5..943575650441159d20bea7470c2dd1cb8702e33d 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/code.dart
@@ -21,8 +21,14 @@ class CodeMock implements M.Code {
final int size;
final M.CodeKind kind;
final bool isOptimized;
+ final M.FunctionRef function;
+ final M.ObjectPoolRef objectPool;
+ final Iterable<M.FunctionRef> inlinedFunctions;
const CodeMock({this.id: 'code-id', this.name: 'code-name',
this.vmName: 'code-vmName', this.clazz, this.size,
- this.kind: M.CodeKind.dart, this.isOptimized: false });
+ this.kind: M.CodeKind.dart, this.isOptimized: false,
+ this.function: const FunctionRefMock(),
+ this.objectPool: const ObjectPoolRefMock(),
+ this.inlinedFunctions: const []});
}
« no previous file with comments | « runtime/observatory/observatory_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698