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

Side by Side Diff: sdk/lib/_internal/js_runtime/lib/constant_map.dart

Issue 2911903002: Use relative URIs for core library part-of statements. (Closed)
Patch Set: Fix warnings in web-sockets tests, typo in fasta. Created 3 years, 5 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of _js_helper; 5 part of "js_helper.dart";
6 6
7 class ConstantMapView<K, V> extends UnmodifiableMapView implements ConstantMap { 7 class ConstantMapView<K, V> extends UnmodifiableMapView implements ConstantMap {
8 ConstantMapView(Map base) : super(base); 8 ConstantMapView(Map base) : super(base);
9 } 9 }
10 10
11 abstract class ConstantMap<K, V> implements Map<K, V> { 11 abstract class ConstantMap<K, V> implements Map<K, V> {
12 // Used to create unmodifiable maps from other maps. 12 // Used to create unmodifiable maps from other maps.
13 factory ConstantMap.from(Map other) { 13 factory ConstantMap.from(Map other) {
14 List keys = other.keys.toList(); 14 List keys = other.keys.toList();
15 bool allStrings = true; 15 bool allStrings = true;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 Iterable<K> get keys { 182 Iterable<K> get keys {
183 return _getMap().keys; 183 return _getMap().keys;
184 } 184 }
185 185
186 Iterable<V> get values { 186 Iterable<V> get values {
187 return _getMap().values; 187 return _getMap().values;
188 } 188 }
189 189
190 int get length => _getMap().length; 190 int get length => _getMap().length;
191 } 191 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/annotations.dart ('k') | sdk/lib/_internal/js_runtime/lib/isolate_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698