| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index 0ef0cbff42d1d9e4cec15966fda1fe4e2a010a22..52e46fca2cc9056fb07b7f53c40a1cc59a964cb2 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -955,23 +955,6 @@ void ProfileIOData::ResourceContext::CreateKeygenHandler(
|
| #endif
|
| }
|
|
|
| -bool ProfileIOData::ResourceContext::AllowMicAccess(const GURL& origin) {
|
| - return AllowContentAccess(origin, CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC);
|
| -}
|
| -
|
| -bool ProfileIOData::ResourceContext::AllowCameraAccess(const GURL& origin) {
|
| - return AllowContentAccess(origin, CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA);
|
| -}
|
| -
|
| -bool ProfileIOData::ResourceContext::AllowContentAccess(
|
| - const GURL& origin, ContentSettingsType type) {
|
| - HostContentSettingsMap* content_settings =
|
| - io_data_->GetHostContentSettingsMap();
|
| - ContentSetting setting = content_settings->GetContentSetting(
|
| - origin, origin, type, NO_RESOURCE_IDENTIFIER);
|
| - return setting == CONTENT_SETTING_ALLOW;
|
| -}
|
| -
|
| ResourceContext::SaltCallback
|
| ProfileIOData::ResourceContext::GetMediaDeviceIDSalt() {
|
| return io_data_->GetMediaDeviceIDSalt();
|
|
|