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

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

Issue 722633002: [content/browser/ssl && content/browser/speech] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « content/browser/speech/google_one_shot_remote_engine.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/logging.h" 8 #include "base/logging.h"
9 #include "content/browser/loader/resource_request_info_impl.h" 9 #include "content/browser/loader/resource_request_info_impl.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 BrowserThread::PostTask( 99 BrowserThread::PostTask(
100 BrowserThread::UI, FROM_HERE, 100 BrowserThread::UI, FROM_HERE,
101 base::Bind(&SelectCertificateOnUIThread, 101 base::Bind(&SelectCertificateOnUIThread,
102 render_process_host_id, render_frame_host_id, 102 render_process_host_id, render_frame_host_id,
103 cert_request_info_, 103 cert_request_info_,
104 base::Bind(&SSLClientAuthHandler::CertificateSelected, 104 base::Bind(&SSLClientAuthHandler::CertificateSelected,
105 weak_factory_.GetWeakPtr()))); 105 weak_factory_.GetWeakPtr())));
106 } 106 }
107 107
108 void SSLClientAuthHandler::CertificateSelected(net::X509Certificate* cert) { 108 void SSLClientAuthHandler::CertificateSelected(net::X509Certificate* cert) {
109 VLOG(1) << this << " DoCertificateSelected " << cert; 109 DVLOG(1) << this << " DoCertificateSelected " << cert;
110 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 110 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
111 111
112 callback_.Run(cert); 112 callback_.Run(cert);
113 // |this| may be deleted at this point. 113 // |this| may be deleted at this point.
114 } 114 }
115 115
116 } // namespace content 116 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/speech/google_one_shot_remote_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698