I've noticed that most public functions on MessageLoop are non-virtual. How bad would it be to make PostTask, and its variants, virtual? Are the perf implications or similar that would be bad? I'd like to be able to use gmock to mock out a message loop so I can test if my code knows to stop posting tasks. However, not having the message loop be virtual makes this hard.
Thanks, Albert --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---