This helps us audit where things are being converted to/from Mojo types. Another good alternative is to just use Mojo types all the way through, but I'm not sure how hard that'd be here.
Is this still something I should do? TypeConverter has a comment saying it's deprecated. I see mojo/public/cpp/bindings/enum_traits.h, but I'm not sure if it's the right tool for the job -- I believe that we currently only convert from mojom::WakeLockReason to chromeos::PowerPolicyController::WakeLockReason in services/device/wake_lock/power_save_blocker/power_save_blocker_chromeos.cc, and that we never convert in the opposite direction.
Comment 1 by derat@chromium.org
, Nov 3 2017