Commit eded43de authored by cramya@chromium.org's avatar cramya@chromium.org

Remember user permissions for camera and microphone access for https WebRTC calls in Android

BUG=307027

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238500 0039d316-1c4b-4281-b951-d872f2087c98
parent 7f9d3991
...@@ -487,10 +487,6 @@ bool MediaStreamDevicesController::ShouldAlwaysAllowOrigin() const { ...@@ -487,10 +487,6 @@ bool MediaStreamDevicesController::ShouldAlwaysAllowOrigin() const {
void MediaStreamDevicesController::SetPermission(bool allowed) const { void MediaStreamDevicesController::SetPermission(bool allowed) const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
#if defined(OS_ANDROID)
// We do not support sticky operations on Android yet.
return;
#endif
ContentSettingsPattern primary_pattern = ContentSettingsPattern primary_pattern =
ContentSettingsPattern::FromURLNoWildcard(request_.security_origin); ContentSettingsPattern::FromURLNoWildcard(request_.security_origin);
// Check the pattern is valid or not. When the request is from a file access, // Check the pattern is valid or not. When the request is from a file access,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment