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

Unified Diff: chrome/browser/ui/android/ssl_client_certificate_request_jni.h

Issue 12374020: Add Android support for SSL client authentication to the browser layer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@client-cert-test
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/ssl_client_certificate_request_jni.h
diff --git a/chrome/browser/ui/android/ssl_client_certificate_request_jni.h b/chrome/browser/ui/android/ssl_client_certificate_request_jni.h
new file mode 100644
index 0000000000000000000000000000000000000000..65a6ca98f646bca8b87174555bb0d64578ab0607
--- /dev/null
+++ b/chrome/browser/ui/android/ssl_client_certificate_request_jni.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_ANDROID_SSL_CLIENT_CERTIFICATE_REQUEST_JNI_H_
+#define CHROME_BROWSER_UI_ANDROID_SSL_CLIENT_CERTIFICATE_REQUEST_JNI_H_
+
+#include <jni.h>
+
+// Register JNI methods for SSLClientCertificateRequest.java
+// This is implemented by ssl_client_certificate_request.cc but
+// appears in an independent header to avoid dragging OpenSSL include
+// path dependencies into chrome_browser.gypi.
bulach 2013/02/28 16:34:18 sorry, I'm not quite sure I understood this... wou
digit 2013/02/28 16:49:00 Yes, I know it's a bit confusing. So this function
digit1 2013/03/04 19:03:20 I've reworked the code to get rid of this header.
+bool RegisterSSLClientCertificateRequestAndroid(JNIEnv* env);
+
+#endif // CHROME_BROWSER_UI_ANDROID_SSL_CLIENT_CERTIFICATE_REQUEST_JNI_H_

Powered by Google App Engine
This is Rietveld 408576698