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

Unified Diff: pkg/compiler/lib/src/serialization/task.dart

Issue 2760923004: Eliminate multi-callback structure for LibraryLoader. (Closed)
Patch Set: . Created 3 years, 9 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: pkg/compiler/lib/src/serialization/task.dart
diff --git a/pkg/compiler/lib/src/serialization/task.dart b/pkg/compiler/lib/src/serialization/task.dart
index 68f5f793239413cfad6a077afdf19151c120da91..6df97636dbbf9aeafc6f6e769a483ac6ed4ba3f2 100644
--- a/pkg/compiler/lib/src/serialization/task.dart
+++ b/pkg/compiler/lib/src/serialization/task.dart
@@ -22,6 +22,9 @@ abstract class LibraryDeserializer {
/// Loads the [LibraryElement] associated with a library under [uri], or null
/// if no serialized information is available for the given library.
Future<LibraryElement> readLibrary(Uri uri);
+
+ /// Returns `true` if [element] has been deserialized.
+ bool isDeserialized(Element element);
}
/// Task that supports deserialization of elements.

Powered by Google App Engine
This is Rietveld 408576698