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

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

Issue 2989093002: [vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, or later … (Closed)
Patch Set: . Created 3 years, 5 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 1b9db5591fb76c26205c4fca54c9efb09e93cdab..77fb1535a5b91d063747912b2a056114e13001bf 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart
@@ -29,6 +29,10 @@ class VMMock implements M.VM {
return null;
}
+ Future enableProfiler() {
+ return null;
+ }
+
const VMMock(
{this.name: 'vm-name',
this.displayName: 'vm-display-name',

Powered by Google App Engine
This is Rietveld 408576698