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

Unified Diff: sdk/lib/io/link.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/io_service.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/link.dart
diff --git a/sdk/lib/io/link.dart b/sdk/lib/io/link.dart
index eb65ac818a80385534d7ed6680fe25c44c43ae5a..042ef364d92407484fe2ae6cff13d200d6aab9bf 100644
--- a/sdk/lib/io/link.dart
+++ b/sdk/lib/io/link.dart
@@ -173,7 +173,7 @@ class _Link extends FileSystemEntity implements Link {
var result = recursive ? parent.create(recursive: true)
: new Future.value(null);
return result
- .then((_) => _IOService.dispatch(_FILE_CREATE_LINK, [path, target]))
+ .then((_) => _IOService._dispatch(_FILE_CREATE_LINK, [path, target]))
.then((response) {
if (_isErrorResponse(response)) {
throw _exceptionFromResponse(
@@ -230,7 +230,7 @@ class _Link extends FileSystemEntity implements Link {
if (recursive) {
return new Directory(path).delete(recursive: true).then((_) => this);
}
- return _IOService.dispatch(_FILE_DELETE_LINK, [path]).then((response) {
+ return _IOService._dispatch(_FILE_DELETE_LINK, [path]).then((response) {
if (_isErrorResponse(response)) {
throw _exceptionFromResponse(response, "Cannot delete link", path);
}
@@ -247,7 +247,7 @@ class _Link extends FileSystemEntity implements Link {
}
Future<Link> rename(String newPath) {
- return _IOService.dispatch(_FILE_RENAME_LINK, [path, newPath])
+ return _IOService._dispatch(_FILE_RENAME_LINK, [path, newPath])
.then((response) {
if (_isErrorResponse(response)) {
throw _exceptionFromResponse(
@@ -264,7 +264,7 @@ class _Link extends FileSystemEntity implements Link {
}
Future<String> target() {
- return _IOService.dispatch(_FILE_LINK_TARGET, [path]).then((response) {
+ return _IOService._dispatch(_FILE_LINK_TARGET, [path]).then((response) {
if (_isErrorResponse(response)) {
throw _exceptionFromResponse(
response, "Cannot get target of link", path);
« no previous file with comments | « sdk/lib/io/io_service.dart ('k') | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698