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

Unified Diff: utils/archive/input_stream.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: Fix the ISO9660 constant 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
« no previous file with comments | « utils/archive/entry_request.dart ('k') | utils/archive/messaging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/input_stream.dart
diff --git a/utils/archive/input_stream.dart b/utils/archive/input_stream.dart
index a73287b9d9ac02f5a40a6f8b5f98bc8a6485ca26..532dfbb4304b98a451ef0d860cff8809894e8911 100644
--- a/utils/archive/input_stream.dart
+++ b/utils/archive/input_stream.dart
@@ -4,6 +4,7 @@
#library("input_stream");
+#import("archive.dart", prefix: "archive");
#import("entry.dart");
#import("read_request.dart");
#import("utils.dart");
@@ -115,7 +116,7 @@ class ArchiveInputStream {
return call(NEXT_HEADER, _id.value).chain((_data) {
data = _data;
if (data == null) return new Future.immediate(null);
- return _emit(new ArchiveEntry(_id.value, data)).
+ return _emit(new archive.ArchiveEntry.internal(data, _id.value)).
chain((_) => _consumeHeaders());
});
}
« no previous file with comments | « utils/archive/entry_request.dart ('k') | utils/archive/messaging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698