Change explicit usage of each type of message loop in WaitableEventWatcher tests to instead loop through an array of message loop types.

This allows for easier-to-read code while including a platform that cannot run the tests on every kind of message loop. Specifically, iOS cannot run the UI loop for unit tests.

Un-exclude synchronization/waitable_event_watcher_unittest.cc on ios in base.gyp.


BUG=b/6825256
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10790028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147198 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 840246b68b70b0d1faa5d19d552daaa3b361189e
2 files changed
tree: 1a762baf0844dcb77c7aea2817dadedaf796dae4
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/