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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/io_patch.dart

Issue 833623004: Add support for file locking (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Windows test Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 throw new UnsupportedError("RandomAccessFile._truncate"); 177 throw new UnsupportedError("RandomAccessFile._truncate");
178 } 178 }
179 @patch 179 @patch
180 static _length(int id) { 180 static _length(int id) {
181 throw new UnsupportedError("RandomAccessFile._length"); 181 throw new UnsupportedError("RandomAccessFile._length");
182 } 182 }
183 @patch 183 @patch
184 static _flush(int id) { 184 static _flush(int id) {
185 throw new UnsupportedError("RandomAccessFile._flush"); 185 throw new UnsupportedError("RandomAccessFile._flush");
186 } 186 }
187 @patch
188 static _lock(int id, int lock, int start, int end) {
189 throw new UnsupportedError("RandomAccessFile._lock");
190 }
187 } 191 }
188 192
189 @patch 193 @patch
190 class _IOCrypto { 194 class _IOCrypto {
191 @patch 195 @patch
192 static Uint8List getRandomBytes(int count) { 196 static Uint8List getRandomBytes(int count) {
193 throw new UnsupportedError("_IOCrypto.getRandomBytes"); 197 throw new UnsupportedError("_IOCrypto.getRandomBytes");
194 } 198 }
195 } 199 }
196 200
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } 521 }
518 } 522 }
519 523
520 @patch 524 @patch
521 class _IOService { 525 class _IOService {
522 @patch 526 @patch
523 static Future dispatch(int request, List data) { 527 static Future dispatch(int request, List data) {
524 throw new UnsupportedError("_IOService.dispatch"); 528 throw new UnsupportedError("_IOService.dispatch");
525 } 529 }
526 } 530 }
OLDNEW
« no previous file with comments | « runtime/bin/io_service.h ('k') | sdk/lib/io/file.dart » ('j') | sdk/lib/io/file.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698