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

Side by Side Diff: content/browser/ssl/ssl_client_auth_handler.cc

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ssl/ssl_client_auth_handler.h" 5 #include "content/browser/ssl/ssl_client_auth_handler.h"
6 6
7 #include "chrome/browser/ssl/ssl_client_auth_notification_details.h"
8 #include "chrome/browser/tab_contents/tab_contents_ssl_helper.h" 7 #include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
9 #include "chrome/browser/tab_contents/tab_util.h" 8 #include "chrome/browser/tab_contents/tab_util.h"
10 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 9 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
11 #include "content/browser/browser_thread.h" 10 #include "content/browser/browser_thread.h"
12 #include "content/browser/renderer_host/resource_dispatcher_host.h" 11 #include "content/browser/renderer_host/resource_dispatcher_host.h"
13 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" 12 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
13 #include "content/browser/ssl/ssl_client_auth_notification_details.h"
14 #include "content/common/notification_service.h" 14 #include "content/common/notification_service.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
16 16
17 SSLClientAuthHandler::SSLClientAuthHandler( 17 SSLClientAuthHandler::SSLClientAuthHandler(
18 net::URLRequest* request, 18 net::URLRequest* request,
19 net::SSLCertRequestInfo* cert_request_info) 19 net::SSLCertRequestInfo* cert_request_info)
20 : request_(request), 20 : request_(request),
21 cert_request_info_(cert_request_info) { 21 cert_request_info_(cert_request_info) {
22 } 22 }
23 23
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 147 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
148 notification_registrar_.Add(this, 148 notification_registrar_.Add(this,
149 NotificationType::SSL_CLIENT_AUTH_CERT_SELECTED, 149 NotificationType::SSL_CLIENT_AUTH_CERT_SELECTED,
150 NotificationService::AllSources()); 150 NotificationService::AllSources());
151 } 151 }
152 152
153 void SSLClientAuthObserver::StopObserving() { 153 void SSLClientAuthObserver::StopObserving() {
154 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 154 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
155 notification_registrar_.RemoveAll(); 155 notification_registrar_.RemoveAll();
156 } 156 }
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.h ('k') | content/browser/ssl/ssl_client_auth_notification_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698