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

Unified Diff: mojo/dart/embedder/dart_controller.h

Issue 1665823003: Only enable the Dart timeline for benchmarks (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 | « apps/benchmark/event.cc ('k') | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/dart_controller.h
diff --git a/mojo/dart/embedder/dart_controller.h b/mojo/dart/embedder/dart_controller.h
index fd3ed91bab7db61e3e15b01dc9cb17aef35a3cbb..4f8a627ecc283a60407288f196a72eb97c7f0090 100644
--- a/mojo/dart/embedder/dart_controller.h
+++ b/mojo/dart/embedder/dart_controller.h
@@ -99,7 +99,8 @@ class DartController {
// type checking enabled.
static bool Initialize(DartControllerServiceConnector* service_connector,
bool strict_compilation,
- bool observatory_enabled,
+ bool enable_observatory,
+ bool enable_dart_timeline,
const char** extra_args,
int extra_args_count);
@@ -159,6 +160,7 @@ class DartController {
bool use_dart_run_loop);
static void InitVmIfNeeded(Dart_EntropySource entropy,
+ bool enable_dart_timeline,
const char** arguments,
int arguments_count);
@@ -170,7 +172,7 @@ class DartController {
static MojoHandle handle_watcher_producer_handle_;
static bool initialized_;
static bool strict_compilation_;
- static bool observatory_enabled_;
+ static bool enable_observatory_;
static bool service_isolate_running_;
static bool service_isolate_spawned_;
static DartControllerServiceConnector* service_connector_;
« no previous file with comments | « apps/benchmark/event.cc ('k') | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698