Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 817013002: cros: Remove system-level policy for audio capture allowed (Closed)

Created:
6 years ago by James Cook
Modified:
5 years, 11 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Remove system-level policy for audio capture allowed The "audio capture allowed" policy exists both at the system level (local state) and at the user level (profile). This was done for historical reasons that no longer apply. The user level policy still prevents audio capture via hooks in Chrome's media pipeline. This CL simplifies the chromeos/audio and app_shell code that uses it. BUG=443695 TEST=chromeos_unittests and app_shell_unittests Committed: https://crrev.com/928c5e821a9885f255a337fad298c7f7d26b8511 Cr-Commit-Position: refs/heads/master@{#310360}

Patch Set 1 #

Patch Set 2 : (allow-audio) cleanup #

Patch Set 3 : (allow-audio) fix policy test expectations #

Total comments: 2

Patch Set 4 : (allow-audio) add back policy test case #

Patch Set 5 : (allow-audio) clean up policy test case #

Patch Set 6 : (allow-audio) rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -91 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 4 1 chunk +0 lines, -9 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_impl.h View 1 3 chunks +3 lines, -9 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_impl.cc View 1 4 chunks +5 lines, -26 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_impl_unittest.cc View 1 3 chunks +2 lines, -9 lines 0 comments Download
M chromeos/audio/audio_devices_pref_handler_stub.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/audio/audio_devices_pref_handler_stub.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chromeos/audio/cras_audio_handler.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M chromeos/audio/cras_audio_handler.cc View 1 4 chunks +4 lines, -20 lines 0 comments Download
M extensions/shell/browser/shell_browser_main_parts.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_prefs.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
James Cook
jennyz, PTAL at audio
6 years ago (2014-12-19 22:35:08 UTC) #2
jennyz
lgtm
6 years ago (2014-12-19 22:43:11 UTC) #3
James Cook
pastarmovj, PTAL
6 years ago (2014-12-19 22:58:36 UTC) #5
James Cook
derat, can I get OWNERS for c/b/chromeos?
6 years ago (2014-12-19 22:59:46 UTC) #7
Daniel Erat
lgtm (feel free to tbr stuff like that)
6 years ago (2014-12-19 23:05:18 UTC) #8
James Cook
pastarmovj, just FYI I will be out for the next two weeks, so don't expect ...
6 years ago (2014-12-19 23:09:44 UTC) #9
pastarmovj
Only one comment. LGTM otherwise. https://codereview.chromium.org/817013002/diff/40001/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (left): https://codereview.chromium.org/817013002/diff/40001/chrome/test/data/policy/policy_test_cases.json#oldcode1832 chrome/test/data/policy/policy_test_cases.json:1832: "local_state": true } IIRC ...
5 years, 11 months ago (2015-01-05 14:53:54 UTC) #10
James Cook
pastarmovj, can you take another look at the policy test case file? mnissler, can I ...
5 years, 11 months ago (2015-01-05 19:08:14 UTC) #12
Mattias Nissler (ping if slow)
browser_prefs.cc LGTM
5 years, 11 months ago (2015-01-06 09:14:55 UTC) #13
James Cook
Ping pastarmovj?
5 years, 11 months ago (2015-01-06 17:39:09 UTC) #14
pastarmovj
Sorry for the delay James. Tuesday was a public holiday in Bavaria. :) I didn't ...
5 years, 11 months ago (2015-01-07 10:03:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817013002/100001
5 years, 11 months ago (2015-01-07 19:15:21 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 11 months ago (2015-01-07 20:47:49 UTC) #18
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 20:49:38 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/928c5e821a9885f255a337fad298c7f7d26b8511
Cr-Commit-Position: refs/heads/master@{#310360}

Powered by Google App Engine
This is Rietveld 408576698