TabSpecificContentSettings no longer knows about MediaStreamDeviceController
commitb3a93a6794477a270de3eadccc7d12485649b861
authorvabr <vabr@chromium.org>
Thu, 30 Oct 2014 11:14:13 +0000 (30 04:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Oct 2014 11:14:34 +0000 (30 11:14 +0000)
tree77aa99b35d8b5cd5b104168c94af626ec301d028
parent60f8228ca3cd73d071abfcf54f65c1a189fe5bb7
TabSpecificContentSettings no longer knows about MediaStreamDeviceController

To prepare TSCS for componentising, this CL removes the knowledge about MSDS out of TSCS, by pulling out MSDS-specific processing from TSCS to MSDS.
Some tests had to be changed in a non-trivial way to preserve the coverage, in particular, some TSCS unit-tests needed to become MSDS browsertests (as wiring up everything needed for MSDS would be too messy in a unit test).

BUG=387075,395060

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

Cr-Commit-Position: refs/heads/master@{#302068}
chrome/browser/content_settings/tab_specific_content_settings.cc
chrome/browser/content_settings/tab_specific_content_settings.h
chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
chrome/browser/media/media_stream_devices_controller.cc
chrome/browser/media/media_stream_devices_controller_browsertest.cc [new file with mode: 0644]
chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc
chrome/chrome_tests.gypi