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

Unified Diff: third_party/mojo/src/mojo/public/cpp/environment/environment.h

Issue 1101303002: Update mojo sdk to rev e7270700d671fa8e458b4d8c9e47f7bcfb65da0b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actualy provide a default TaskTracker impl Created 5 years, 8 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: 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

Powered by Google App Engine
This is Rietveld 408576698