DescriptionAdd a supervised user setting to allow all cookies.
This prevents inexperienced users from creating website compatibility
problems by blocking cookies.
As this is the first supervised user content setting that is ALLOW
rather than BLOCK, rename content_settings::BinaryValueMap to
GlobalValueMap and add support for arbitrary content settings.
Also some cleanup, most importantly:
* Remove the AutoLock from the map, as it doesn't need to hold on to the
lock beyond the scope of a method call.
* Return a null RuleIterator when there is no content setting, which
improves performance because it avoids memory churn.
BUG=678278
Review-Url: https://codereview.chromium.org/2628883008
Cr-Commit-Position: refs/heads/master@{#444071}
Committed: https://chromium.googlesource.com/chromium/src/+/c3d40a39d323b758f7afb314a36fbb6ee6bd7249
Patch Set 1 : x #Patch Set 2 : comment #Patch Set 3 : x #Patch Set 4 : simplify #Patch Set 5 : . #
Total comments: 3
Messages
Total messages: 22 (14 generated)
|