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

Unified Diff: lib/src/util/delegating_sink.dart

Issue 1248073003: Add a --pause-after-load flag for debugging. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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: lib/src/util/delegating_sink.dart
diff --git a/lib/src/util/delegating_sink.dart b/lib/src/util/delegating_sink.dart
deleted file mode 100644
index cc2917f7ffd98a485a5045b4a6fa83364ce96643..0000000000000000000000000000000000000000
--- a/lib/src/util/delegating_sink.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library test.util.delegating_sink;
-
-// TODO(nweiz): Move this into package:async.
-/// An implementation of [Sink] that forwards all calls to a wrapped [Sink].
-///
-/// This can also be used on a subclass to make it look like a normal [Sink].
-class DelegatingSink<T> implements Sink<T> {
- /// The wrapped [Sink].
- final Sink _inner;
-
- DelegatingSink(this._inner);
-
- void add(T data) {
- _inner.add(data);
- }
-
- void close() {
- _inner.close();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698