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

Unified Diff: runtime/bin/secure_socket.h

Issue 20316002: dart:io | Fix handling of exceptions from onBadCertificate callback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: try again Created 7 years, 5 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
« no previous file with comments | « no previous file | runtime/bin/secure_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket.h
diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h
index 817be4ad47ff2af5c54c20935e9511b401bd7dd2..304ccd52dad4bfbf8abcf21023fce6612bf6041a 100644
--- a/runtime/bin/secure_socket.h
+++ b/runtime/bin/secure_socket.h
@@ -47,7 +47,8 @@ class SSLFilter {
};
SSLFilter()
- : string_start_(NULL),
+ : callback_error(NULL),
+ string_start_(NULL),
string_length_(NULL),
handshake_complete_(NULL),
bad_certificate_callback_(NULL),
@@ -88,6 +89,7 @@ class SSLFilter {
bool use_builtin_root_certificates,
bool report_duplicate_initialization = true);
static Dart_Port GetServicePort();
+ Dart_Handle callback_error;
private:
static const int kMemioBufferSize = 20 * KB;
« no previous file with comments | « no previous file | runtime/bin/secure_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698