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

Unified Diff: runtime/bin/dartutils.h

Issue 17589007: dart:io | Change names for SecureSocket exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad upload to review tool. Created 7 years, 6 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/dartutils.cc » ('j') | runtime/bin/secure_socket.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.h
diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
index 7a479da5342ef8ec6458b9eedb544b3f2e3b23f9..85b5585f5fa447b1fb4b37ca53f12faeb3f8e8f1 100644
--- a/runtime/bin/dartutils.h
+++ b/runtime/bin/dartutils.h
@@ -141,12 +141,17 @@ class DartUtils {
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 NewDartSocketException(const char* message,
- Dart_Handle os_error);
+ static Dart_Handle NewDartExceptionWithOSError(const char* library_url,
+ const char* exception_name,
+ const char* message,
+ Dart_Handle os_error);
static Dart_Handle NewDartExceptionWithMessage(const char* library_url,
const char* exception_name,
const char* message);
static Dart_Handle NewDartArgumentError(const char* message);
+ static Dart_Handle NewDartIOException(const char* exception_name,
+ const char* message,
+ Dart_Handle os_error);
// Create a new Dart String object from a C String.
static Dart_Handle NewString(const char* str) {
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('j') | runtime/bin/secure_socket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698