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

Unified Diff: runtime/bin/dartutils.h

Issue 10916081: Add secure sockets to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Switch to system of patched libraries in dart:io for new TlsSocket class. Created 8 years, 2 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: runtime/bin/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index e660da33c726a2555ae8bb40f3f45a12044a86b8..29d902787581ee7c16159976576985fdab6073db 100644
--- a/runtime/bin/dartutils.h
+++ b/runtime/bin/dartutils.h
@@ -105,10 +105,16 @@ class DartUtils {
static bool PostNull(Dart_Port port_id);
static bool PostInt32(Dart_Port port_id, int32_t value);
+ static Dart_Handle GetDartClass(const char* library_url,
+ const char* class_name);
// Create a new Dart OSError object with the current OS error.
static Dart_Handle NewDartOSError();
// Create a new Dart OSError object with the provided OS error.
static Dart_Handle NewDartOSError(OSError* os_error);
+ static Dart_Handle NewDartExceptionWithMessage(const char* library_url,
+ const char* exception_name,
+ const char* message);
+ static Dart_Handle NewDartIllegalArgumentException(const char* message);
static void SetOriginalWorkingDirectory();

Powered by Google App Engine
This is Rietveld 408576698