Chromium Code Reviews

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

Issue 1953293003: EDK: Add handle rights checking to the various entrypoints. (Closed) Base URL: https://github.com/domokit/mojo.git@work788_edk_handle_13.9-x-work787_edk_handle_13.8
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher_unittest.cc ('k') | mojo/edk/system/platform_handle_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/mock_simple_dispatcher.cc
diff --git a/mojo/edk/system/mock_simple_dispatcher.cc b/mojo/edk/system/mock_simple_dispatcher.cc
index a1f080f68c1cc41812184993214a2d365d172ac6..1c96f229890b1c6ac57079267af0270dba50e17c 100644
--- a/mojo/edk/system/mock_simple_dispatcher.cc
+++ b/mojo/edk/system/mock_simple_dispatcher.cc
@@ -52,7 +52,7 @@ Dispatcher::Type MockSimpleDispatcher::GetType() const {
bool MockSimpleDispatcher::SupportsEntrypointClass(
EntrypointClass entrypoint_class) const {
- return false;
+ return (entrypoint_class == EntrypointClass::NONE);
}
MockSimpleDispatcher::MockSimpleDispatcher(
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher_unittest.cc ('k') | mojo/edk/system/platform_handle_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine