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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java (revision 11058)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerWarmup.java (working copy)
@@ -21,7 +21,7 @@
import com.google.dart.compiler.DefaultCompilerConfiguration;
import com.google.dart.compiler.LibrarySource;
import com.google.dart.compiler.Source;
-import com.google.dart.compiler.SystemLibraryManager;
+import com.google.dart.compiler.PackageLibraryManager;
import com.google.dart.compiler.UrlLibrarySource;
import com.google.dart.compiler.UrlSource;
import com.google.dart.compiler.metrics.CompilerMetrics;
@@ -31,7 +31,7 @@
import com.google.dart.tools.core.internal.builder.CachingArtifactProvider;
import com.google.dart.tools.core.internal.builder.RootArtifactProvider;
import com.google.dart.tools.core.internal.compiler.LoggingDartCompilerListener;
-import com.google.dart.tools.core.internal.model.SystemLibraryManagerProvider;
+import com.google.dart.tools.core.internal.model.PackageLibraryManagerProvider;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@@ -115,7 +115,7 @@
private static class LibraryDartSource extends UrlSource implements LibrarySource {
private DartSource dartSrc;
- public LibraryDartSource(DartSource dartSrc, SystemLibraryManager sysLibMgr) {
+ public LibraryDartSource(DartSource dartSrc, PackageLibraryManager sysLibMgr) {
super(dartSrc.getUri(), sysLibMgr);
this.dartSrc = dartSrc;
}
@@ -194,7 +194,7 @@
*/
public static void warmUpCompiler(CachingArtifactProvider rootProvider,
DartCompilerListener listener) {
- SystemLibraryManager sysLibMgr = SystemLibraryManagerProvider.getSystemLibraryManager();
+ PackageLibraryManager sysLibMgr = PackageLibraryManagerProvider.getSystemLibraryManager();
String warmupSrcCode = "main() {print('success');}";
DartSource dartSrc = new DartSourceString(WARMUP_DART, warmupSrcCode);

Powered by Google App Engine
This is Rietveld 408576698