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

Side by Side Diff: chrome/browser/ui/android/ssl_client_certificate_request.cc

Issue 2838243002: Remove client_certs from SSLCertRequestInfo. (Closed)
Patch Set: revert stray whitespace change Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/ui/android/ssl_client_certificate_request.h" 5 #include "chrome/browser/ui/android/ssl_client_certificate_request.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 bool RegisterSSLClientCertificateRequestAndroid(JNIEnv* env) { 198 bool RegisterSSLClientCertificateRequestAndroid(JNIEnv* env) {
199 return RegisterNativesImpl(env); 199 return RegisterNativesImpl(env);
200 } 200 }
201 201
202 } // namespace android 202 } // namespace android
203 203
204 void ShowSSLClientCertificateSelector( 204 void ShowSSLClientCertificateSelector(
205 content::WebContents* contents, 205 content::WebContents* contents,
206 net::SSLCertRequestInfo* cert_request_info, 206 net::SSLCertRequestInfo* cert_request_info,
207 net::CertificateList unused_client_certs,
207 std::unique_ptr<content::ClientCertificateDelegate> delegate) { 208 std::unique_ptr<content::ClientCertificateDelegate> delegate) {
208 ui::WindowAndroid* window = ViewAndroidHelper::FromWebContents(contents) 209 ui::WindowAndroid* window = ViewAndroidHelper::FromWebContents(contents)
209 ->GetViewAndroid()->GetWindowAndroid(); 210 ->GetViewAndroid()->GetWindowAndroid();
210 DCHECK(window); 211 DCHECK(window);
211 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 212 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
212 StartClientCertificateRequest(cert_request_info, window, std::move(delegate)); 213 StartClientCertificateRequest(cert_request_info, window, std::move(delegate));
213 } 214 }
214 215
215 } // namespace chrome 216 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698