I think this could be an OK thing to do for tests, emitting something in the generated mojom-test-utils.h. I would hesitate to change the primary generated interface classes though, because then it seems really easy by default to overlook existing implementations when adding new interface methods.
Even in tests, default no-op methods could lead to confusing failure modes for methods that take a reply callback. One option there would be to keep such methods as pure-virtual, but then the whole idea gets kind of muddy and inconsistent IMHO.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/dceccf16-0c3b-4820-b654-c6a4e09ec049n%40chromium.org.