If I understand this correctly, you use `message_loop_` to assert via CHECK() that certain functions were called in the correct thread, right?

If so, you can use `base/thread_checker.h` for that.