Update push messaging tests to use both infobars and bubbles (w/ autoresponse)
commit5a86ada324212abe358ac7da01a66ce08b3f62b7
authorfelt <felt@chromium.org>
Fri, 5 Jun 2015 23:07:54 +0000 (5 16:07 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Jun 2015 23:08:19 +0000 (5 23:08 +0000)
treefb598b7030ae88b6d2c9edaf7fd056c461c8f941
parent403f2058371962ecff1f7d66cacf556d2a86cbe6
Update push messaging tests to use both infobars and bubbles (w/ autoresponse)

- This CL updates the Permission Bubble Manager to autorespond for browser tests.
  The test tells the Permission Bubble Manager which response is desired, and the
  Permission Bubble Manager will execute that response immediately after Show().

- This CL applies the new responder to parameterized PushMessagingBrowsertests.

BUG=438758

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

Cr-Commit-Position: refs/heads/master@{#333166}
chrome/browser/push_messaging/push_messaging_browsertest.cc
chrome/browser/ui/website_settings/permission_bubble_manager.cc
chrome/browser/ui/website_settings/permission_bubble_manager.h