summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_client_auth_handler.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 22:31:24 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-24 22:31:24 +0000
commit89f23a3fc2ab1f96be4299cf3d22c6f9a1d808aa (patch)
tree7bfa9e82ebfc8db5eeeb93b9142a227e0f427da3 /content/browser/ssl/ssl_client_auth_handler.cc
parent9ede073d0d9e45e2894fbec4410211a00ef1b207 (diff)
downloadchromium_src-89f23a3fc2ab1f96be4299cf3d22c6f9a1d808aa.zip
chromium_src-89f23a3fc2ab1f96be4299cf3d22c6f9a1d808aa.tar.gz
chromium_src-89f23a3fc2ab1f96be4299cf3d22c6f9a1d808aa.tar.bz2
content/browser: Move ssl code into the content namespace.
R=jam@chromium.org Review URL: https://codereview.chromium.org/11283004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ssl/ssl_client_auth_handler.cc')
-rw-r--r--content/browser/ssl/ssl_client_auth_handler.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/content/browser/ssl/ssl_client_auth_handler.cc b/content/browser/ssl/ssl_client_auth_handler.cc
index b2dc675..676589e 100644
--- a/content/browser/ssl/ssl_client_auth_handler.cc
+++ b/content/browser/ssl/ssl_client_auth_handler.cc
@@ -14,10 +14,7 @@
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
-using content::BrowserThread;
-using content::ResourceDispatcherHostImpl;
-using content::ResourceRequestInfo;
-using content::ResourceRequestInfoImpl;
+namespace content {
SSLClientAuthHandler::SSLClientAuthHandler(
net::URLRequest* request,
@@ -88,8 +85,10 @@ void SSLClientAuthHandler::DoCertificateSelected(net::X509Certificate* cert) {
void SSLClientAuthHandler::DoSelectCertificate(
int render_process_host_id, int render_view_host_id) {
- content::GetContentClient()->browser()->SelectClientCertificate(
+ GetContentClient()->browser()->SelectClientCertificate(
render_process_host_id, render_view_host_id, http_network_session_,
cert_request_info_,
base::Bind(&SSLClientAuthHandler::CertificateSelected, this));
}
+
+} // namespace content