Rolls Dart runtime forward

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1953963002 .
diff --git a/DEPS b/DEPS
index 7a1a15a..4264862 100644
--- a/DEPS
+++ b/DEPS
@@ -24,7 +24,7 @@
   'base_revision': 'f613c71b2ed7fe4b4eff33fb7fd3b53e640b4359',
   'angle_revision': '46ccef1992a8ede16a596c3dd73cff13c047267d',
   'buildtools_revision': '222bd42ce39d1bd8f08fe089b066f49c469e1cdf',
-  'dart_revision': '1536c671f525f3de65fff0aacfce90e5cacf6cd5',
+  'dart_revision': 'e4db01fdd43f019988a901eb51c72790652760a4',
   'dart_root_certificates_revision': 'aed07942ce98507d2be28cbd29e879525410c7fc',
   'dart_observatory_packages_revision': 'cf90eb9077177d3d6b3fd5e8289477c2385c026a',
   'pdfium_revision': 'ae4256f45df69bbfdf722a6ec17e1e851911ae4e',
diff --git a/mojo/dart/embedder/io/file_patch.dart b/mojo/dart/embedder/io/file_patch.dart
index 8e5b9f9..adcee85 100644
--- a/mojo/dart/embedder/io/file_patch.dart
+++ b/mojo/dart/embedder/io/file_patch.dart
@@ -604,6 +604,32 @@
 patch class _Link {
 }
 
+patch class _RandomAccessFileOps {
+  /* patch */ factory _RandomAccessFileOps(int pointer)
+      => new _RandomAccessFileOpsImpl(pointer);
+}
+
+class _RandomAccessFileOpsImpl implements _RandomAccessFileOps {
+  int _pointer;
+
+  _RandomAccessFileOpsImpl(this._pointer);
+
+  int getPointer() => _pointer;
+  int close() => throw new UnimplementedError();
+  readByte() => throw new UnimplementedError();
+  read(int bytes) => throw new UnimplementedError();
+  readInto(List<int> buffer, int start, int end)
+      => throw new UnimplementedError();
+  writeByte(int value) => throw new UnimplementedError();
+  writeFrom(List<int> buffer, int start, int end)
+      => throw new UnimplementedError();
+  position() => throw new UnimplementedError();
+  setPosition(int position) => throw new UnimplementedError();
+  truncate(int length) => throw new UnimplementedError();
+  length() => throw new UnimplementedError();
+  flush() => throw new UnimplementedError();
+  lock(int lock, int start, int end) => throw new UnimplementedError();
+}
 
 patch class _RandomAccessFile {
   FileProxy _proxy;
@@ -625,7 +651,7 @@
     await _proxy.responseOrError(_proxy.ptr.close());
     await _proxy.close(immediate: true);
     _proxy = null;
-    _id = 0;
+    closed = true;
     _maybePerformCleanup();
     return this;
   }
@@ -809,12 +835,12 @@
   }
 
   /* patch */ Future<RandomAccessFile> lock(
-      [FileLock mode = FileLock.EXCLUSIVE, int start = 0, int end]) {
+      [FileLock mode = FileLock.EXCLUSIVE, int start = 0, int end = -1]) {
     throw new UnsupportedError(
         "File locking is not supported by this embedder");
   }
 
-  /* patch */ Future<RandomAccessFile> unlock([int start = 0, int end]) {
+  /* patch */ Future<RandomAccessFile> unlock([int start = 0, int end = -1]) {
     throw new UnsupportedError(
         "File locking is not supported by this embedder");
   }
@@ -827,58 +853,4 @@
   /* patch */ void unlockSync([int start = 0, int end]) {
     _onSyncOperation();
   }
-
-  /* patch */ bool get closed => _id == 0;
-
-  /* patch */ static int _close(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static int _getFD(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _readByte(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _read(int id, int bytes) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _readInto(int id, List<int> buffer, int start, int end) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _writeByte(int id, int value) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _writeFrom(int id, List<int> buffer, int start, int end) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _position(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _setPosition(int id, int position) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _truncate(int id, int length) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _length(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _flush(int id) {
-    throw new UnimplementedError();
-  }
-
-  /* patch */ static _lock(int id, int lock, int start, int end) {
-    throw new UnimplementedError();
-  }
 }