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

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

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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 "content/browser/ssl/ssl_client_auth_handler.h" 5 #include "content/browser/ssl/ssl_client_auth_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/browser_thread.h" 8 #include "content/browser/browser_thread.h"
9 #include "content/browser/content_browser_client.h"
10 #include "content/browser/renderer_host/resource_dispatcher_host.h" 9 #include "content/browser/renderer_host/resource_dispatcher_host.h"
11 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
12 #include "content/browser/ssl/ssl_client_auth_notification_details.h" 11 #include "content/browser/ssl/ssl_client_auth_notification_details.h"
13 #include "content/common/notification_service.h" 12 #include "content/common/notification_service.h"
13 #include "content/public/browser/content_browser_client.h"
14 #include "net/base/x509_certificate.h" 14 #include "net/base/x509_certificate.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 141 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
142 notification_registrar_.Add( 142 notification_registrar_.Add(
143 this, content::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, 143 this, content::NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
144 NotificationService::AllSources()); 144 NotificationService::AllSources());
145 } 145 }
146 146
147 void SSLClientAuthObserver::StopObserving() { 147 void SSLClientAuthObserver::StopObserving() {
148 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 148 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
149 notification_registrar_.RemoveAll(); 149 notification_registrar_.RemoveAll();
150 } 150 }
OLDNEW
« no previous file with comments | « content/browser/speech/speech_input_dispatcher_host.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698