Add WaitForCondition() and use it in ExtensionTestNotificationObserver.

BUG=none
NOTRY=true

Review URL: https://codereview.chromium.org/30943005

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


CrOS-Libchrome-Original-Commit: d4605c119ecb054772ff1943dcba2f3f8e0af363
2 files changed
tree: 7d9c8d4cc246208ee33a27bd5c01f706c4c6c538
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/