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

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

Issue 1160203002: Make Dispatcher::Type an enum class. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: mojo/edk/system/remote_data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/remote_data_pipe_impl_unittest.cc b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
index 7efd40a89d8e1beb1a0cefa31803f409a19be356..40d2f6fdb0537e8a53d06be86b4c27a728d80671 100644
--- a/mojo/edk/system/remote_data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
@@ -226,7 +226,8 @@ TEST_F(RemoteDataPipeImplTest, SendConsumerWithClosedProducer) {
ASSERT_TRUE(read_dispatchers[0]);
EXPECT_TRUE(read_dispatchers[0]->HasOneRef());
- EXPECT_EQ(Dispatcher::kTypeDataPipeConsumer, read_dispatchers[0]->GetType());
+ EXPECT_EQ(Dispatcher::Type::DATA_PIPE_CONSUMER,
+ read_dispatchers[0]->GetType());
consumer =
static_cast<DataPipeConsumerDispatcher*>(read_dispatchers[0].get());
read_dispatchers.clear();

Powered by Google App Engine
This is Rietveld 408576698