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

Unified Diff: mojo/edk/system/connection_manager_unittest.cc

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/connection_manager_unittest.cc
diff --git a/mojo/edk/system/connection_manager_unittest.cc b/mojo/edk/system/connection_manager_unittest.cc
index 32eb406f9f6b923b33634c7accb0fa393dbf5334..c28e67c1a3b207b5190a62273293e468fe30c493 100644
--- a/mojo/edk/system/connection_manager_unittest.cc
+++ b/mojo/edk/system/connection_manager_unittest.cc
@@ -26,6 +26,7 @@
#include "mojo/public/cpp/system/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
+using mojo::platform::TaskRunner;
using mojo::util::MakeRefCounted;
using mojo::util::RefPtr;
@@ -177,9 +178,7 @@ class ConnectionManagerTest : public testing::Test {
~ConnectionManagerTest() override {}
embedder::PlatformSupport* platform_support() { return &platform_support_; }
- const RefPtr<embedder::PlatformTaskRunner>& task_runner() {
- return task_runner_;
- }
+ const RefPtr<TaskRunner>& task_runner() { return task_runner_; }
MockMasterProcessDelegate& master_process_delegate() {
return master_process_delegate_;
}
@@ -204,7 +203,7 @@ class ConnectionManagerTest : public testing::Test {
private:
embedder::SimplePlatformSupport platform_support_;
base::MessageLoop message_loop_;
- RefPtr<embedder::PlatformTaskRunner> task_runner_;
+ RefPtr<TaskRunner> task_runner_;
MockMasterProcessDelegate master_process_delegate_;
MOJO_DISALLOW_COPY_AND_ASSIGN(ConnectionManagerTest);

Powered by Google App Engine
This is Rietveld 408576698