Index: mojo/public/cpp/bindings/lib/multiplex_router.h |
diff --git a/mojo/public/cpp/bindings/lib/multiplex_router.h b/mojo/public/cpp/bindings/lib/multiplex_router.h |
index 26de3df13b9a12d55c9fd9991c67c301e873c85b..db4dcc0e2fa2a27362f6382fbd0f3fad45a5ac52 100644 |
--- a/mojo/public/cpp/bindings/lib/multiplex_router.h |
+++ b/mojo/public/cpp/bindings/lib/multiplex_router.h |
@@ -63,6 +63,9 @@ class MultiplexRouter |
// interfaces. In that case, this router may still receive pipe control |
// messages or messages targetting associated interfaces. |
SINGLE_INTERFACE, |
+ // Similar to the mode above, there is only the master interface running on |
+ // this router. Besides, the master interface has sync methods. |
+ SINGLE_INTERFACE_WITH_SYNC_METHODS, |
// There may be associated interfaces running on this router. |
MULTI_INTERFACE |
}; |
@@ -234,7 +237,7 @@ class MultiplexRouter |
base::ThreadChecker thread_checker_; |
// Protects the following members. |
- // Sets to nullptr in Config::SINGLE_INTERFACE mode. |
+ // Sets to nullptr in Config::SINGLE_INTERFACE* mode. |
std::unique_ptr<base::Lock> lock_; |
PipeControlMessageHandler control_message_handler_; |
PipeControlMessageProxy control_message_proxy_; |