aac030e777
This allows the tools such as dartdoc to operate on dart:io in the same way as it does with other code and allows the implemenation of parts of dart:io for dart2js if we ever want to do that. The current patching is very VM specific. I have only moved stuff to patch files when they actually need to be. For Process and Socket everything has to be moved because they use native fields. For the rest, only the individual native calls have been put in patch files. R=sgjesse@google.com,ajohnsen@google.com BUG= Review URL: https://codereview.chromium.org//11337019 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14259 260f80e4-7a28-3924-810f-c04153c831b5
9 lines
349 B
Dart
9 lines
349 B
Dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
patch class _HttpSessionManager {
|
|
/* patch */ static Uint8List _getRandomBytes(int count)
|
|
native "Crypto_GetRandomBytes";
|
|
}
|