Update geolocation permission tests for the permission bubble
commitd9f24fc092eba7accd05df923b1a1aa911a8ca38
authorfelt <felt@chromium.org>
Thu, 12 Feb 2015 00:24:44 +0000 (11 16:24 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 00:25:19 +0000 (12 00:25 +0000)
tree07567baf995054b9eb46fb32243529394da14b47
parent26d368748ba328de33acab9cfd8aa27135103e66
Update geolocation permission tests for the permission bubble

This makes the geolocation permission tests run for both infobars and
permission bubbles. The tests now run as parameterized tests.

Supercedes parts of:
https://codereview.chromium.org/411503005/
https://codereview.chromium.org/341833004/

BUG=438758

Committed: https://crrev.com/f57c61952870c6027dbf220eff8b2d703bfed3c8
Cr-Commit-Position: refs/heads/master@{#314541}

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

Cr-Commit-Position: refs/heads/master@{#315883}
chrome/browser/geolocation/geolocation_browsertest.cc
chrome/browser/geolocation/geolocation_permission_context_unittest.cc
chrome/browser/ui/website_settings/mock_permission_bubble_view.cc [new file with mode: 0644]
chrome/browser/ui/website_settings/mock_permission_bubble_view.h [new file with mode: 0644]
chrome/browser/ui/website_settings/permission_bubble_manager.h
chrome/chrome_tests.gypi
chrome/chrome_tests_unit.gypi