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

Side by Side Diff: compiler/java/com/google/dart/compiler/UrlDartSource.java

Issue 10827457: rename refactor SystemLibraryManager -> PackagelibraryManager SdkLibraryManager -> SystemLibraryM... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
Brian Wilkerson 2012/08/21 21:30:01 nit: copyright year
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 package com.google.dart.compiler; 5 package com.google.dart.compiler;
6 6
7 import java.io.File; 7 import java.io.File;
8 import java.net.URI; 8 import java.net.URI;
9 import java.net.URISyntaxException; 9 import java.net.URISyntaxException;
10 10
11 /** 11 /**
12 * A {@link DartSource} backed by a URL. 12 * A {@link DartSource} backed by a URL.
13 */ 13 */
14 public class UrlDartSource extends UrlSource implements DartSource { 14 public class UrlDartSource extends UrlSource implements DartSource {
15 15
16 private final LibrarySource lib; 16 private final LibrarySource lib;
17 private final String relPath; 17 private final String relPath;
18 18
19 protected UrlDartSource(URI uri, String relPath, LibrarySource lib, SystemLibr aryManager slm) { 19 protected UrlDartSource(URI uri, String relPath, LibrarySource lib, PackageLib raryManager slm) {
20 super(uri,slm); 20 super(uri,slm);
21 this.relPath = relPath; 21 this.relPath = relPath;
22 this.lib = lib; 22 this.lib = lib;
23 } 23 }
24 24
25 protected UrlDartSource(URI uri, String relPath, LibrarySource lib) { 25 protected UrlDartSource(URI uri, String relPath, LibrarySource lib) {
26 this(uri, relPath, lib, null); 26 this(uri, relPath, lib, null);
27 } 27 }
28 28
29 public UrlDartSource(File file, LibrarySource lib) { 29 public UrlDartSource(File file, LibrarySource lib) {
(...skipping 15 matching lines...) Expand all
45 } catch (URISyntaxException e) { 45 } catch (URISyntaxException e) {
46 throw new AssertionError(e); 46 throw new AssertionError(e);
47 } 47 }
48 } 48 }
49 49
50 @Override 50 @Override
51 public String getRelativePath() { 51 public String getRelativePath() {
52 return relPath; 52 return relPath;
53 } 53 }
54 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698