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

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

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 | « mojo/edk/system/remote_message_pipe_unittest.cc ('k') | mojo/edk/test/test_io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/test_io_thread.h
diff --git a/mojo/edk/test/test_io_thread.h b/mojo/edk/test/test_io_thread.h
index 78b0b015f9f53fa01c59182a4ba791c7fb2d5507..0b0f5dd2e480e734b521a4a71e0d676ee8e57851 100644
--- a/mojo/edk/test/test_io_thread.h
+++ b/mojo/edk/test/test_io_thread.h
@@ -17,8 +17,8 @@ namespace test {
// Class to help create/run threads with I/O |MessageLoop|s in tests.
class TestIOThread {
public:
- enum Mode { kAutoStart, kManualStart };
- explicit TestIOThread(Mode mode);
+ enum class StartMode { AUTO, MANUAL };
+ explicit TestIOThread(StartMode start_mode);
// Stops the I/O thread if necessary.
~TestIOThread();
« no previous file with comments | « mojo/edk/system/remote_message_pipe_unittest.cc ('k') | mojo/edk/test/test_io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698