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

Unified Diff: sdk/lib/io/directory_impl.dart

Issue 816353012: Mark all private functions in dart: libraries as invisible (*sniff*). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/data_transformer.dart ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/directory_impl.dart
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart
index a54b2efa4443e63adcf87ce2d75c67bcc0617962..46b17dc67d615e67efeedf386508181d6b9b1a3e 100644
--- a/sdk/lib/io/directory_impl.dart
+++ b/sdk/lib/io/directory_impl.dart
@@ -44,7 +44,7 @@ class _Directory extends FileSystemEntity implements Directory {
}
Future<bool> exists() {
- return _IOService.dispatch(_DIRECTORY_EXISTS, [path]).then((response) {
+ return _IOService._dispatch(_DIRECTORY_EXISTS, [path]).then((response) {
if (_isErrorResponse(response)) {
throw _exceptionOrErrorFromResponse(response, "Exists failed");
}
@@ -103,7 +103,7 @@ class _Directory extends FileSystemEntity implements Directory {
}
});
} else {
- return _IOService.dispatch(_DIRECTORY_CREATE, [path]).then((response) {
+ return _IOService._dispatch(_DIRECTORY_CREATE, [path]).then((response) {
if (_isErrorResponse(response)) {
throw _exceptionOrErrorFromResponse(response, "Creation failed");
}
@@ -140,7 +140,7 @@ class _Directory extends FileSystemEntity implements Directory {
} else {
fullPrefix = "$path${Platform.pathSeparator}$prefix";
}
- return _IOService.dispatch(_DIRECTORY_CREATE_TEMP, [fullPrefix])
+ return _IOService._dispatch(_DIRECTORY_CREATE_TEMP, [fullPrefix])
.then((response) {
if (_isErrorResponse(response)) {
throw _exceptionOrErrorFromResponse(
@@ -173,7 +173,7 @@ class _Directory extends FileSystemEntity implements Directory {
}
Future<Directory> _delete({bool recursive: false}) {
- return _IOService.dispatch(_DIRECTORY_DELETE, [path, recursive])
+ return _IOService._dispatch(_DIRECTORY_DELETE, [path, recursive])
.then((response) {
if (_isErrorResponse(response)) {
throw _exceptionOrErrorFromResponse(response, "Deletion failed");
@@ -190,7 +190,7 @@ class _Directory extends FileSystemEntity implements Directory {
}
Future<Directory> rename(String newPath) {
- return _IOService.dispatch(_DIRECTORY_RENAME, [path, newPath])
+ return _IOService._dispatch(_DIRECTORY_RENAME, [path, newPath])
.then((response) {
if (_isErrorResponse(response)) {
throw _exceptionOrErrorFromResponse(response, "Rename failed");
@@ -281,7 +281,7 @@ class _AsyncDirectoryLister {
Stream get stream => controller.stream;
void onListen() {
- _IOService.dispatch(_DIRECTORY_LIST_START, [path, recursive, followLinks])
+ _IOService._dispatch(_DIRECTORY_LIST_START, [path, recursive, followLinks])
.then((response) {
if (response is int) {
id = response;
@@ -319,7 +319,7 @@ class _AsyncDirectoryLister {
if (controller.isPaused) return;
if (nextRunning) return;
nextRunning = true;
- _IOService.dispatch(_DIRECTORY_LIST_NEXT, [id]).then((result) {
+ _IOService._dispatch(_DIRECTORY_LIST_NEXT, [id]).then((result) {
nextRunning = false;
if (result is List) {
next();
@@ -359,7 +359,7 @@ class _AsyncDirectoryLister {
}
closed = true;
if (id != null) {
- _IOService.dispatch(_DIRECTORY_LIST_STOP, [id]).whenComplete(cleanup);
+ _IOService._dispatch(_DIRECTORY_LIST_STOP, [id]).whenComplete(cleanup);
} else {
cleanup();
}
« no previous file with comments | « sdk/lib/io/data_transformer.dart ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698