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

Unified Diff: mojo/edk/embedder/embedder_unittest.cc

Issue 1367523003: EDK: mostly style fix: change TestIOThread::Mode to an enum class. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/embedder_unittest.cc
diff --git a/mojo/edk/embedder/embedder_unittest.cc b/mojo/edk/embedder/embedder_unittest.cc
index ef231cee117c933ed3242f0ab2e545dc2796bfba..20e4664b133f58a59f3c50382003531becf9ba49 100644
--- a/mojo/edk/embedder/embedder_unittest.cc
+++ b/mojo/edk/embedder/embedder_unittest.cc
@@ -131,7 +131,7 @@ class ScopedTestChannel {
class EmbedderTest : public testing::Test {
public:
- EmbedderTest() : test_io_thread_(TestIOThread::kAutoStart) {}
+ EmbedderTest() : test_io_thread_(TestIOThread::StartMode::AUTO) {}
~EmbedderTest() override {}
protected:
@@ -477,7 +477,7 @@ MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessMasterSlave) {
mojo::test::MultiprocessTestHelper::client_platform_handle.Pass();
EXPECT_TRUE(client_platform_handle.is_valid());
- TestIOThread test_io_thread(TestIOThread::kAutoStart);
+ TestIOThread test_io_thread(TestIOThread::StartMode::AUTO);
test::InitWithSimplePlatformSupport();
{
@@ -672,7 +672,7 @@ MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessChannelsClient) {
mojo::test::MultiprocessTestHelper::client_platform_handle.Pass();
EXPECT_TRUE(client_platform_handle.is_valid());
- TestIOThread test_io_thread(TestIOThread::kAutoStart);
+ TestIOThread test_io_thread(TestIOThread::StartMode::AUTO);
test::InitWithSimplePlatformSupport();
{
« no previous file with comments | « no previous file | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698