Index: android_webview/native/aw_contents_client_bridge.h |
diff --git a/android_webview/native/aw_contents_client_bridge.h b/android_webview/native/aw_contents_client_bridge.h |
index 2a5caba0bba5dd6dceba670b6da8e2b9533d4a10..a2bde4b02899f4789b7b6bec2db92b5a54ef26d9 100644 |
--- a/android_webview/native/aw_contents_client_bridge.h |
+++ b/android_webview/native/aw_contents_client_bridge.h |
@@ -40,7 +40,7 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase { |
bool* cancel_request) override; |
void SelectClientCertificate( |
net::SSLCertRequestInfo* cert_request_info, |
- const SelectCertificateCallback& callback) override; |
+ scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
void RunJavaScriptDialog( |
content::JavaScriptMessageType message_type, |
@@ -73,8 +73,10 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase { |
IDMap<CertErrorCallback, IDMapOwnPointer> pending_cert_error_callbacks_; |
IDMap<content::JavaScriptDialogManager::DialogClosedCallback, IDMapOwnPointer> |
pending_js_dialog_callbacks_; |
- IDMap<SelectCertificateCallback, IDMapOwnPointer> |
- pending_client_cert_request_callbacks_; |
+ // |pending_client_cert_request_delegates_| owns its pointers, but IDMap |
+ // doesn't provide Release, so ownership is managed manually. |
+ IDMap<content::ClientCertificateDelegate> |
+ pending_client_cert_request_delegates_; |
}; |
bool RegisterAwContentsClientBridge(JNIEnv* env); |