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

Unified Diff: utils/archive/archive.dart

Issue 10832116: Attach the native entry struct to the ArchiveEntry object. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: utils/archive/archive.dart
diff --git a/utils/archive/archive.dart b/utils/archive/archive.dart
index 99ed17010dc090b892c3ba438df5be1059df77e5..73a9fbf316909707f51d2d2a0a02ece3d28ef385 100644
--- a/utils/archive/archive.dart
+++ b/utils/archive/archive.dart
@@ -8,6 +8,7 @@
*/
#library("archive");
+#import("entry.dart", prefix: "entry");
#import("reader.dart", prefix: "reader");
// TODO(nweiz): Remove this when 3071 is fixed.
@@ -23,3 +24,13 @@ interface ArchiveException {
// TODO(nweiz): Remove this when 3071 is fixed.
/** See [reader.ArchiveReader]. */
class ArchiveReader extends reader.ArchiveReader {}
+
+// TODO(nweiz): Remove this when 3071 is fixed.
+/** See [entry.ArchiveEntry]. */
+class ArchiveEntry extends entry.ArchiveEntry {
+ ArchiveEntry.internal(List properties, int archiveId)
+ : super.internal(properties, archiveId);
+
+ /** Create a new [ArchiveEntry] with default values for all of its fields. */
+ static Future<ArchiveEntry> create() => entry.ArchiveEntry.create();
+}
« no previous file with comments | « utils/archive/Makefile ('k') | utils/archive/dart_archive.c » ('j') | utils/archive/entry.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698