Avoid to use the method pointer to Callback<>::Run on gmock tests

This CL replaces a problematic method pointers to Callback::Run with
testing::CreateFunctor.

The method pointer to Callback::Run prevents to make it a template
method or to overload it for cleaner implementation.

Review-Url: https://codereview.chromium.org/2758713002
Cr-Commit-Position: refs/heads/master@{#458018}


CrOS-Libchrome-Original-Commit: 2e53fef9596667824f9f0467fb6b2eabf1eb121e
1 file changed
tree: 7fe12c84d51247d9e9d50063129c22d523ad7f2a
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/