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

Unified Diff: android_webview/browser/aw_contents_client_bridge.h

Issue 2869103002: [Android WebView] Propagate Java exceptions thrown in OnReceivedSslError (Closed)
Patch Set: Add comments to ssl_manager.h as well. 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/aw_contents_client_bridge.h
diff --git a/android_webview/browser/aw_contents_client_bridge.h b/android_webview/browser/aw_contents_client_bridge.h
index 38485ec8fc48b79cb9283a4243ccdbac42127826..d44e590ef704d3a0936c417c1d44a45271a6f078 100644
--- a/android_webview/browser/aw_contents_client_bridge.h
+++ b/android_webview/browser/aw_contents_client_bridge.h
@@ -95,6 +95,8 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase {
const base::android::JavaRef<jstring>& prompt);
void CancelJsResult(JNIEnv*, const base::android::JavaRef<jobject>&, int id);
+ bool HasPendingJavaException() { return has_pending_java_exception_; }
+
private:
void HandleErrorInClientCertificateResponse(int id);
@@ -109,6 +111,7 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase {
// doesn't provide Release, so ownership is managed manually.
IDMap<content::ClientCertificateDelegate*>
pending_client_cert_request_delegates_;
+ bool has_pending_java_exception_;
};
bool RegisterAwContentsClientBridge(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698