OLD | NEW |
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 "android_webview/native/aw_contents_client_bridge.h" | 5 #include "android_webview/native/aw_contents_client_bridge.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "android_webview/common/devtools_instrumentation.h" | 9 #include "android_webview/common/devtools_instrumentation.h" |
10 #include "android_webview/native/aw_contents.h" | 10 #include "android_webview/native/aw_contents.h" |
11 #include "base/android/jni_android.h" | 11 #include "base/android/jni_android.h" |
12 #include "base/android/jni_array.h" | 12 #include "base/android/jni_array.h" |
13 #include "base/android/jni_string.h" | 13 #include "base/android/jni_string.h" |
14 #include "base/callback_helpers.h" | 14 #include "base/callback_helpers.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "content/public/browser/client_certificate_delegate.h" | 18 #include "content/public/browser/client_certificate_delegate.h" |
19 #include "content/public/browser/render_process_host.h" | 19 #include "content/public/browser/render_process_host.h" |
20 #include "content/public/browser/render_view_host.h" | 20 #include "content/public/browser/render_view_host.h" |
21 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
22 #include "crypto/scoped_openssl_types.h" | |
23 #include "grit/components_strings.h" | 22 #include "grit/components_strings.h" |
24 #include "jni/AwContentsClientBridge_jni.h" | 23 #include "jni/AwContentsClientBridge_jni.h" |
25 #include "net/cert/x509_certificate.h" | 24 #include "net/cert/x509_certificate.h" |
26 #include "net/ssl/openssl_client_key_store.h" | 25 #include "net/ssl/openssl_client_key_store.h" |
27 #include "net/ssl/ssl_cert_request_info.h" | 26 #include "net/ssl/ssl_cert_request_info.h" |
28 #include "net/ssl/ssl_client_cert_type.h" | 27 #include "net/ssl/ssl_client_cert_type.h" |
29 #include "net/ssl/ssl_platform_key_android.h" | 28 #include "net/ssl/ssl_platform_key_android.h" |
30 #include "net/ssl/ssl_private_key.h" | 29 #include "net/ssl/ssl_private_key.h" |
31 #include "ui/base/l10n/l10n_util.h" | 30 #include "ui/base/l10n/l10n_util.h" |
32 #include "url/gurl.h" | 31 #include "url/gurl.h" |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 pending_client_cert_request_delegates_.Remove(request_id); | 404 pending_client_cert_request_delegates_.Remove(request_id); |
406 | 405 |
407 delete delegate; | 406 delete delegate; |
408 } | 407 } |
409 | 408 |
410 bool RegisterAwContentsClientBridge(JNIEnv* env) { | 409 bool RegisterAwContentsClientBridge(JNIEnv* env) { |
411 return RegisterNativesImpl(env); | 410 return RegisterNativesImpl(env); |
412 } | 411 } |
413 | 412 |
414 } // namespace android_webview | 413 } // namespace android_webview |
OLD | NEW |