summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_client_auth_handler.h
diff options
context:
space:
mode:
authormarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 11:37:30 +0000
committermarkusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 11:37:30 +0000
commitc99c442ebbba18086f6a9d099000c855a8e3d7a6 (patch)
tree39b0091eb34cd5c0e16fee2fc43b6750c81c1d27 /content/browser/ssl/ssl_client_auth_handler.h
parent1ca4dba7f881ea839466ca8179deae665fe1d11c (diff)
downloadchromium_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/ssl/ssl_client_auth_handler.h')
-rw-r--r--content/browser/ssl/ssl_client_auth_handler.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/content/browser/ssl/ssl_client_auth_handler.h b/content/browser/ssl/ssl_client_auth_handler.h
index 4dbcaa7..4657c84 100644
--- a/content/browser/ssl/ssl_client_auth_handler.h
+++ b/content/browser/ssl/ssl_client_auth_handler.h
@@ -29,8 +29,7 @@ class SSLClientAuthHandler
SSLClientAuthHandler(net::URLRequest* request,
net::SSLCertRequestInfo* cert_request_info);
- // Asks the user to select a certificate and resumes the URL request with that
- // certificate.
+ // Selects a certificate and resumes the URL request with that certificate.
// Should only be called on the IO thread.
void SelectCertificate();
@@ -62,9 +61,9 @@ class SSLClientAuthHandler
// Called on the IO thread.
void DoCertificateSelected(net::X509Certificate* cert);
- // Calls the SSL helper on the UI thread.
- void ShowClientCertificateRequestDialog(int render_process_host_id,
- int render_view_host_id);
+ // Selects a client certificate on the UI thread.
+ void DoSelectCertificate(int render_process_host_id,
+ int render_view_host_id);
// The net::URLRequest that triggered this client auth.
net::URLRequest* request_;