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

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed)

Created:
9 years, 4 months ago by markusheintz_
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Avi (use Gerrit), brettw-cc_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

- Add a new content settings type AUTO-SELECT-CERTIFICATE. The default value of the new content settings type AUTO-SELECT-CERTIFICATE is CONTENT_SETTING_ASK - Add a policy for whitelisting origins for which client certificates should be auto selected. - Add a policy to set a default setting for the auto select certificates setting. BUG=81825 TEST=host_content_settings_map_unittest.cc, content_settings_policy_provider_unit_test.cc, configuration_policy_pref_store_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98026

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Patch Set 4 : " #

Total comments: 49

Patch Set 5 : " #

Patch Set 6 : " #

Total comments: 4

Patch Set 7 : " #

Total comments: 20

Patch Set 8 : " #

Patch Set 9 : Add missing close tags to policy template. #

Patch Set 10 : Remove BLOCK setting for auto-select-certificates #

Patch Set 11 : Fix configuration_policy_pref_store_unittest.cc #

Total comments: 5

Patch Set 12 : " #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -32 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 1 2 3 4 5 6 7 9 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider_unittest.cc View 1 2 3 4 5 6 7 3 chunks +50 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 1 2 3 4 5 6 7 2 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_ssl_helper.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_ssl_helper.cc View 1 2 3 4 5 6 7 8 9 3 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M chrome/common/content_settings_types.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -5 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.h View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
markusheintz_
Please review my CL. @wtc: Please review the certificate and ssl related parts @mnissler: I ...
9 years, 4 months ago (2011-08-05 17:50:22 UTC) #1
Mattias Nissler (ping if slow)
Overall, looks reasonable to me, but you'll want an OWNER to look at the content/ ...
9 years, 4 months ago (2011-08-09 15:37:25 UTC) #2
wtc
Review comments on Patch Set 4: I reviewed the entire CL. It is very straightforward. ...
9 years, 4 months ago (2011-08-11 18:33:55 UTC) #3
markusheintz_
I removed the command line switch and changed the CL to also support CONTENT_SETTING_ASK as ...
9 years, 4 months ago (2011-08-15 19:09:04 UTC) #4
Mattias Nissler (ping if slow)
policy stuff LGTM, I didn't deep-dive into the content settings and cert selection code. http://codereview.chromium.org/7537025/diff/20001/chrome/browser/content_settings/content_settings_pref_provider.cc ...
9 years, 4 months ago (2011-08-16 11:21:35 UTC) #5
Mattias Nissler (ping if slow)
policy stuff LGTM, I didn't deep-dive into the content settings and cert selection code. http://codereview.chromium.org/7537025/diff/20001/chrome/browser/content_settings/content_settings_pref_provider.cc ...
9 years, 4 months ago (2011-08-16 11:21:35 UTC) #6
markusheintz_
Thanks for reviewing. http://codereview.chromium.org/7537025/diff/20001/chrome/browser/content_settings/content_settings_pref_provider.cc File chrome/browser/content_settings/content_settings_pref_provider.cc (right): http://codereview.chromium.org/7537025/diff/20001/chrome/browser/content_settings/content_settings_pref_provider.cc#newcode61 chrome/browser/content_settings/content_settings_pref_provider.cc:61: CONTENT_SETTING_ASK, // CONTENT_SETTINGS_TYPE_AUTO_SUBMIT_CERTIFICATE On 2011/08/16 11:21:35, ...
9 years, 4 months ago (2011-08-16 11:38:26 UTC) #7
wtc
Markus: I will review Patch Set 7 tomorrow (Thursday).
9 years, 4 months ago (2011-08-17 19:28:38 UTC) #8
wtc
http://codereview.chromium.org/7537025/diff/6011/content/browser/ssl/ssl_client_auth_handler.h File content/browser/ssl/ssl_client_auth_handler.h (right): http://codereview.chromium.org/7537025/diff/6011/content/browser/ssl/ssl_client_auth_handler.h#newcode66 content/browser/ssl/ssl_client_auth_handler.h:66: void SelectClientCertificate(int render_process_host_id, On 2011/08/15 19:09:04, markusheintz_ wrote: > ...
9 years, 4 months ago (2011-08-18 19:34:20 UTC) #9
wtc
LGTM. High-Level Comments 1. In the CL's commit message, please mention the new content settings ...
9 years, 4 months ago (2011-08-18 22:03:38 UTC) #10
markusheintz_
Added Avi as review for the content related changes. The Preferences should not be synced ...
9 years, 4 months ago (2011-08-19 15:17:57 UTC) #11
Avi (use Gerrit)
content change LGTM
9 years, 4 months ago (2011-08-19 15:19:46 UTC) #12
wtc
LGTM. I reviewed Patch Set 11. http://codereview.chromium.org/7537025/diff/40001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): http://codereview.chromium.org/7537025/diff/40001/chrome/app/policy/policy_templates.json#newcode1285 chrome/app/policy/policy_templates.json:1285: 'value': 3, Should ...
9 years, 4 months ago (2011-08-22 23:58:53 UTC) #13
commit-bot: I haz the power
9 years, 4 months ago (2011-08-24 11:37:37 UTC) #14
Change committed as 98026

Powered by Google App Engine
This is Rietveld 408576698