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

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

Issue 1426843004: Remove the task tracking stuff in the bindings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/public/cpp/environment/BUILD.gn ('k') | mojo/public/cpp/environment/lib/default_task_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/environment.h
diff --git a/mojo/public/cpp/environment/environment.h b/mojo/public/cpp/environment/environment.h
index 3a544286de354a3678c4a767dd8be69460f17e5f..ce3f7d01ad96b42e0ed6647b778ea1e108f18f68 100644
--- a/mojo/public/cpp/environment/environment.h
+++ b/mojo/public/cpp/environment/environment.h
@@ -12,8 +12,6 @@ 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
@@ -28,13 +26,11 @@ 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 TaskTracker* default_task_tracker);
+ const MojoLogger* default_logger);
~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
« no previous file with comments | « mojo/public/cpp/environment/BUILD.gn ('k') | mojo/public/cpp/environment/lib/default_task_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698