diff options
author | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-24 11:37:30 +0000 |
---|---|---|
committer | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-24 11:37:30 +0000 |
commit | c99c442ebbba18086f6a9d099000c855a8e3d7a6 (patch) | |
tree | 39b0091eb34cd5c0e16fee2fc43b6750c81c1d27 /content/browser/content_browser_client.h | |
parent | 1ca4dba7f881ea839466ca8179deae665fe1d11c (diff) | |
download | chromium_src-c99c442ebbba18086f6a9d099000c855a8e3d7a6.zip chromium_src-c99c442ebbba18086f6a9d099000c855a8e3d7a6.tar.gz chromium_src-c99c442ebbba18086f6a9d099000c855a8e3d7a6.tar.bz2 |
- 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
Review URL: http://codereview.chromium.org/7537025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/content_browser_client.h')
-rw-r--r-- | content/browser/content_browser_client.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h index 4f0a53c..1547028 100644 --- a/content/browser/content_browser_client.h +++ b/content/browser/content_browser_client.h @@ -176,11 +176,9 @@ class ContentBrowserClient { bool overridable, Callback2<SSLCertErrorHandler*, bool>::Type* callback) = 0; - // Shows the user a SSL client certificate selection dialog. When the user has - // made a selection, the dialog will report back to |delegate|. |delegate| is - // notified when the dialog closes in call cases; if the user cancels the - // dialog, we call with a NULL certificate. - virtual void ShowClientCertificateRequestDialog( + // Selects a SSL client certificate and returns it to the |handler|. If no + // certificate was selected NULL is returned to the |handler|. + virtual void SelectClientCertificate( int render_process_id, int render_view_id, SSLClientAuthHandler* handler) = 0; |