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

Side by Side Diff: sdk/lib/io/namespace_impl.dart

Issue 3001963002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Fuchsia fix Created 3 years, 3 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
« no previous file with comments | « sdk/lib/io/link.dart ('k') | tests/standalone/io/directory_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
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.
4
5 part of dart.io;
6
7 // Each Isolate may run in a different "namespace".
8 abstract class _Namespace {
9 // This getter does not increase the reference count on the underlying native
10 // object. It cannot be passed in a dispatch message to the IOService thread.
11 external static _Namespace get _namespace;
12
13 // This getter does increase the reference count on the underlying native
14 // object. It must be passed in a dispatch message to the IOService thread.
15 external static int get _namespacePointer;
16
17 // This sets up the Isolate's namespace. It should be set up by the embedder.
18 // If it is not set up by the embedder, relative paths will be resolved
19 // relative to the process's current working directory and absolute paths will
20 // be left relative to the file system root.
21 external static void _setupNamespace(var namespace);
22 }
OLDNEW
« no previous file with comments | « sdk/lib/io/link.dart ('k') | tests/standalone/io/directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698