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

Side by Side Diff: utils/archive/archive.dart

Issue 10915231: Changed interfaces to abstract classes in utils. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | utils/css/tokenizer_base.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * The primary library file for the archive library. This is the only file that 6 * The primary library file for the archive library. This is the only file that
7 * should be imported by clients. 7 * should be imported by clients.
8 */ 8 */
9 #library("archive"); 9 #library("archive");
10 10
11 #import("entry.dart", prefix: "entry"); 11 #import("entry.dart", prefix: "entry");
12 #import("reader.dart", prefix: "reader"); 12 #import("reader.dart", prefix: "reader");
13 13
14 // TODO(nweiz): Remove this when 3071 is fixed. 14 // TODO(nweiz): Remove this when 3071 is fixed.
15 /** An error raised by the archive library. */ 15 /** An error raised by the archive library. */
16 interface ArchiveException { 16 abstract class ArchiveException {
17 /** A description of the error that occurred. */ 17 /** A description of the error that occurred. */
18 final String message; 18 final String message;
19 19
20 /** The error code for the error, or null. */ 20 /** The error code for the error, or null. */
21 final int errno; 21 final int errno;
22 } 22 }
23 23
24 // TODO(nweiz): Remove this when 3071 is fixed. 24 // TODO(nweiz): Remove this when 3071 is fixed.
25 /** See [reader.ArchiveReader]. */ 25 /** See [reader.ArchiveReader]. */
26 class ArchiveReader extends reader.ArchiveReader {} 26 class ArchiveReader extends reader.ArchiveReader {}
27 27
28 // TODO(nweiz): Remove this when 3071 is fixed. 28 // TODO(nweiz): Remove this when 3071 is fixed.
29 /** See [entry.ArchiveEntry]. */ 29 /** See [entry.ArchiveEntry]. */
30 class ArchiveEntry extends entry.ArchiveEntry { 30 class ArchiveEntry extends entry.ArchiveEntry {
31 ArchiveEntry.internal(List properties, int archiveId) 31 ArchiveEntry.internal(List properties, int archiveId)
32 : super.internal(properties, archiveId); 32 : super.internal(properties, archiveId);
33 33
34 /** Create a new [ArchiveEntry] with default values for all of its fields. */ 34 /** Create a new [ArchiveEntry] with default values for all of its fields. */
35 static Future<ArchiveEntry> create() => entry.ArchiveEntry.create(); 35 static Future<ArchiveEntry> create() => entry.ArchiveEntry.create();
36 } 36 }
OLDNEW
« no previous file with comments | « no previous file | utils/css/tokenizer_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698