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

Issue 1251543002: Show policy allowed URLs as policy exceptions in the media settings. (Closed)

Created:
5 years, 5 months ago by msramek
Modified:
5 years, 4 months ago
Reviewers:
Bernhard Bauer, raymes
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@flash-links
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show policy allowed URLs as policy exceptions in the media settings. Show the policy-set URLs which are allowed to use mic and camera without asking (kAudioCaptureAllowedUrls, kVideoCaptureAllowedUrls) as if they were policy-set camera and microphone exceptions. BASE=1243723003 BUG=509962 Committed: https://crrev.com/957baf4c0d8985666ff817dd67c5c31cbb186375 Cr-Commit-Position: refs/heads/master@{#341093}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Use ListValue instead of vector #

Total comments: 2

Patch Set 3 : Scoped ptrs. #

Total comments: 9

Patch Set 4 : Fixes. #

Patch Set 5 : Reverse the processing order. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -31 lines) Patch
M chrome/browser/ui/webui/options/content_settings_handler.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 12 chunks +91 lines, -29 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
msramek
Hi again Bernhard and Raymes, this is the last and smallest of the trio of ...
5 years, 5 months ago (2015-07-23 19:51:54 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/1251543002/diff/20001/chrome/browser/ui/webui/options/content_settings_handler.h File chrome/browser/ui/webui/options/content_settings_handler.h (right): https://codereview.chromium.org/1251543002/diff/20001/chrome/browser/ui/webui/options/content_settings_handler.h#newcode232 chrome/browser/ui/webui/options/content_settings_handler.h:232: std::vector<base::Value*>* exceptions); Use ScopedVector instead of a vector containing ...
5 years, 5 months ago (2015-07-24 09:13:25 UTC) #4
msramek
https://codereview.chromium.org/1251543002/diff/20001/chrome/browser/ui/webui/options/content_settings_handler.h File chrome/browser/ui/webui/options/content_settings_handler.h (right): https://codereview.chromium.org/1251543002/diff/20001/chrome/browser/ui/webui/options/content_settings_handler.h#newcode232 chrome/browser/ui/webui/options/content_settings_handler.h:232: std::vector<base::Value*>* exceptions); On 2015/07/24 09:13:25, Bernhard Bauer wrote: > ...
5 years, 5 months ago (2015-07-24 10:57:32 UTC) #6
Bernhard Bauer
Sorry, I missed this CL. Feel free to ping me if I'm not responding to ...
5 years, 4 months ago (2015-07-28 13:06:49 UTC) #7
msramek
No worries, the two dependencies aren't landed yet, so there's no hurry with this CL. ...
5 years, 4 months ago (2015-07-28 15:05:38 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode1208 chrome/browser/ui/webui/options/content_settings_handler.cc:1208: all_provider_exceptions.get().at( Could you just use the [] operator? The ...
5 years, 4 months ago (2015-07-28 15:35:31 UTC) #9
msramek
https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode1208 chrome/browser/ui/webui/options/content_settings_handler.cc:1208: all_provider_exceptions.get().at( On 2015/07/28 15:35:31, Bernhard Bauer wrote: > Could ...
5 years, 4 months ago (2015-07-29 13:07:09 UTC) #10
Bernhard Bauer
LGTM! https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/1251543002/diff/80001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode1249 chrome/browser/ui/webui/options/content_settings_handler.cc:1249: exceptions->Append(exception->DeepCopy()); On 2015/07/29 13:07:09, msramek wrote: > On ...
5 years, 4 months ago (2015-07-29 13:19:24 UTC) #11
msramek
Thanks :)
5 years, 4 months ago (2015-07-29 14:06:36 UTC) #12
raymes
btw I defer to Bernhard again :)
5 years, 4 months ago (2015-07-29 23:36:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251543002/140001
5 years, 4 months ago (2015-07-30 09:09:26 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 4 months ago (2015-07-30 10:37:32 UTC) #17
commit-bot: I haz the power
5 years, 4 months ago (2015-07-30 10:38:03 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/957baf4c0d8985666ff817dd67c5c31cbb186375
Cr-Commit-Position: refs/heads/master@{#341093}

Powered by Google App Engine
This is Rietveld 408576698