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

Unified Diff: mojo/edk/system/test/test_io_thread.h

Issue 1462083003: Add //mojo/edk/platform and move platform_task_runners.h there. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update readme Created 5 years, 1 month 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: mojo/edk/system/test/test_io_thread.h
diff --git a/mojo/edk/system/test/test_io_thread.h b/mojo/edk/system/test/test_io_thread.h
index e81cce08f6539afe8f2f281782d4eda850b45b6f..c96857b3a0ada8f33ee15fdeb425611491bb2b8b 100644
--- a/mojo/edk/system/test/test_io_thread.h
+++ b/mojo/edk/system/test/test_io_thread.h
@@ -8,7 +8,7 @@
#include "base/callback_forward.h"
#include "base/threading/thread.h"
#include "mojo/edk/base_edk/platform_task_runner_impl.h"
-#include "mojo/edk/embedder/platform_task_runner.h"
+#include "mojo/edk/platform/task_runner.h"
#include "mojo/edk/util/ref_ptr.h"
#include "mojo/public/cpp/system/macros.h"
@@ -40,14 +40,14 @@ class TestIOThread final {
return static_cast<base::MessageLoopForIO*>(io_thread_.message_loop());
}
- const util::RefPtr<embedder::PlatformTaskRunner>& task_runner() {
+ const util::RefPtr<platform::TaskRunner>& task_runner() {
return io_task_runner_;
}
private:
base::Thread io_thread_;
bool io_thread_started_;
- util::RefPtr<embedder::PlatformTaskRunner> io_task_runner_;
+ util::RefPtr<platform::TaskRunner> io_task_runner_;
MOJO_DISALLOW_COPY_AND_ASSIGN(TestIOThread);
};

Powered by Google App Engine
This is Rietveld 408576698