| Index: third_party/mojo/src/mojo/public/cpp/environment/environment.h
|
| diff --git a/third_party/mojo/src/mojo/public/cpp/environment/environment.h b/third_party/mojo/src/mojo/public/cpp/environment/environment.h
|
| index ce3f7d01ad96b42e0ed6647b778ea1e108f18f68..3a544286de354a3678c4a767dd8be69460f17e5f 100644
|
| --- a/third_party/mojo/src/mojo/public/cpp/environment/environment.h
|
| +++ b/third_party/mojo/src/mojo/public/cpp/environment/environment.h
|
| @@ -12,6 +12,8 @@ struct MojoLogger;
|
|
|
| namespace mojo {
|
|
|
| +struct TaskTracker;
|
| +
|
| // Other parts of the Mojo C++ APIs use the *static* methods of this class.
|
| //
|
| // The "standalone" implementation of this class requires that this class (in
|
| @@ -26,11 +28,13 @@ class Environment {
|
| // This constructor allows the standard implementations to be overridden (set
|
| // a parameter to null to get the standard implementation).
|
| Environment(const MojoAsyncWaiter* default_async_waiter,
|
| - const MojoLogger* default_logger);
|
| + const MojoLogger* default_logger,
|
| + const TaskTracker* default_task_tracker);
|
| ~Environment();
|
|
|
| static const MojoAsyncWaiter* GetDefaultAsyncWaiter();
|
| static const MojoLogger* GetDefaultLogger();
|
| + static const TaskTracker* GetDefaultTaskTracker();
|
|
|
| // These instantiate and destroy an environment-specific run loop for the
|
| // current thread, allowing |GetDefaultAsyncWaiter()| to be used. (The run
|
|
|