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

Side by Side Diff: runtime/lib/internal_patch.dart

Issue 1181663002: Add Resource class. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add suppression for analyzer warnings. Created 5 years, 6 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 | « runtime/lib/core_patch.dart ('k') | sdk/lib/_internal/compiler/js_lib/core_patch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 patch List makeListFixedLength(List growableList) 5 patch List makeListFixedLength(List growableList)
6 native "Internal_makeListFixedLength"; 6 native "Internal_makeListFixedLength";
7 7
8 patch List makeFixedListUnmodifiable(List fixedLengthList) 8 patch List makeFixedListUnmodifiable(List fixedLengthList)
9 native "Internal_makeFixedListUnmodifiable"; 9 native "Internal_makeFixedListUnmodifiable";
10 10
11 class VMLibraryHooks { 11 class VMLibraryHooks {
12 // Example: "dart:isolate _Timer._factory" 12 // Example: "dart:isolate _Timer._factory"
13 static var timerFactory; 13 static var timerFactory;
14 // Example: "dart:io _EventHandler._sendData" 14 // Example: "dart:io _EventHandler._sendData"
15 static var eventHandlerSendData; 15 static var eventHandlerSendData;
16 } 16 }
17 17
18 patch class CodeUnits { 18 patch class CodeUnits {
19 static final int cid = ClassID.getID(new CodeUnits("")); 19 static final int cid = ClassID.getID(new CodeUnits(""));
20 } 20 }
21 21
22 final bool is64Bit = _inquireIs64Bit(); 22 final bool is64Bit = _inquireIs64Bit();
23 23
24 bool _inquireIs64Bit() native "Internal_inquireIs64Bit"; 24 bool _inquireIs64Bit() native "Internal_inquireIs64Bit";
OLDNEW
« no previous file with comments | « runtime/lib/core_patch.dart ('k') | sdk/lib/_internal/compiler/js_lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698