Chromium Code Reviews
Description- Add a method to the HostContentSettings map to return the |Value| of a content setting instead of the type ContentSetting.
The HostContentSettingsMap should allow storing arbitrary |Value|s instead of only |ContentSettings| for content settings types (BTW: content settings should be called website settings). This allows to add other content settings type(website settings types) to the host content settings map that require more complex settings than ALLOW, BLOCK, ASK, ... . CONTENT_TYPE_AUTO_SELECT_CERTIFICATE is one example of such a content settings type. CONTENT_TYPE_AUTO_SELECT_CERTIFICATE requires a map with certain criteria that a certificate must match to be selected.
- Add filter to the AutoSelectCertificate policy.
Instead of only giving a list of origin patterns that specify origins for which client certificates should be auto selected, each origin pattern now also requires a filter with certificate criteria.
This is the second CL in a series and follows CL http://codereview.chromium.org/7831004/
BUG=63656, 81825
TEST=host_content_settings_map_unittest.cc,
content_settings_policy_provider_unittests.cc
TBR=pam@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99672
Patch Set 1 #
Total comments: 18
Patch Set 2 : Comments addressed & Removed default auto select cert setting. #
Total comments: 12
Patch Set 3 : Comments addressed. Use JSON only for policy format. #Patch Set 4 : Remove unrelated changes from patchset. #
Total comments: 8
Patch Set 5 : Comments from pam, wtc addressed. Obsolete test removed #Patch Set 6 : Again: Remove unrelated changes. *sigh* #Patch Set 7 : Fix typos #Patch Set 8 : Rebase on top of tree and fix policy template conflicts. #Patch Set 9 : Change TabContentsSSLHelper to use cert-filters instead of ALLOW and BLOCK #Patch Set 10 : Update example value of AutoSelectCertificate policy in policy_template.json #
Total comments: 14
Messages
Total messages: 18 (0 generated)
|