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

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

Issue 3007703002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Remove namespace_unsupported.cc 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", which provides the scope in
8 // which file paths are resolved.
9 abstract class _Namespace {
10 // This getter does not increase the reference count on the underlying native
11 // object. It cannot be passed in a dispatch message to the IOService thread.
12 external static _Namespace get _namespace;
13
14 // This getter does increase the reference count on the underlying native
15 // object. It must be passed in a dispatch message to the IOService thread.
16 external static int get _namespacePointer;
17
18 // This sets up the Isolate's namespace. It should be set up by the embedder.
19 // If it is not set up by the embedder, relative paths will be resolved
20 // relative to the process's current working directory and absolute paths will
21 // be left relative to the file system root.
22 external static void _setupNamespace(var namespace);
23 }
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