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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java

Issue 17277004: Split list of referenced libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java (revision 24187)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java (working copy)
@@ -114,6 +114,17 @@
}
@Override
+ public Source[] computeExportedLibraries(Source source) throws AnalysisException {
+ InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeExportedLibraries");
+ try {
+ instrumentation.metric("contextId", contextId);
+ return basis.computeExportedLibraries(source);
+ } finally {
+ instrumentation.log();
+ }
+ }
+
+ @Override
public HtmlElement computeHtmlElement(Source source) throws AnalysisException {
InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeHtmlElement");
try {
@@ -129,6 +140,17 @@
}
@Override
+ public Source[] computeImportedLibraries(Source source) throws AnalysisException {
+ InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeImportedLibraries");
+ try {
+ instrumentation.metric("contextId", contextId);
+ return basis.computeImportedLibraries(source);
+ } finally {
+ instrumentation.log();
+ }
+ }
+
+ @Override
public SourceKind computeKindOf(Source source) {
InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeKindOf");
try {

Powered by Google App Engine
This is Rietveld 408576698