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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 293393005: Make methods on isolate external. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « no previous file | sdk/lib/_internal/lib/isolate_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate_patch.dart
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart
index add3c5143f117c404d8a693aec1abd308b6522f7..acf9968f008ce1717417c137fe51d33168ec95ed 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -274,4 +274,40 @@ patch class Isolate {
native "Isolate_spawnFunction";
static SendPort _spawnUri(String uri) native "Isolate_spawnUri";
+
+ /* patch */ void _pause(Capability resumeCapability) {
+ throw new UnsupportedError("pause");
+ }
+
+ /* patch */ void resume(Capability resumeCapability) {
+ throw new UnsupportedError("resume");
+ }
+
+ /* patch */ void addOnExitListener(SendPort responsePort) {
+ throw new UnsupportedError("addOnExitListener");
+ }
+
+ /* patch */ void removeOnExitListener(SendPort responsePort) {
+ throw new UnsupportedError("removeOnExitListener");
+ }
+
+ /* patch */ void setErrorsFatal(bool errorsAreFatal) {
+ throw new UnsupportedError("setErrorsFatal");
+ }
+
+ /* patch */ void kill([int priority = BEFORE_NEXT_EVENT]) {
+ throw new UnsupportedError("kill");
+ }
+
+ /* patch */ void ping(SendPort responsePort, [int pingType = IMMEDIATE]) {
+ throw new UnsupportedError("ping");
+ }
+
+ /* patch */ void addErrorListener(SendPort port) {
+ throw new UnsupportedError("addErrorListener");
+ }
+
+ /* patch */ void removeErrorListener(SendPort port) {
+ throw new UnsupportedError("removeErrorListener");
+ }
}
« no previous file with comments | « no previous file | sdk/lib/_internal/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698