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

Unified Diff: sdk/lib/crypto/crypto_base.dart

Issue 12610006: Renamed StreamSink to EventSink. Renamed signalError to addError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed inheritance back! Now create StreamSink instead of EventSink where we create them. Created 7 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: sdk/lib/crypto/crypto_base.dart
diff --git a/sdk/lib/crypto/crypto_base.dart b/sdk/lib/crypto/crypto_base.dart
index 4231718d4948e5bf259a6f5e6118342051a163aa..d1666b51ed9a7bafb0a5537301fb92a67b2577d5 100644
--- a/sdk/lib/crypto/crypto_base.dart
+++ b/sdk/lib/crypto/crypto_base.dart
@@ -17,7 +17,7 @@ part of dart.crypto;
* If multiple instances of a given Hash is needed the [newInstance]
* method can provide a new instance.
*/
-// TODO(floitsch): make Hash implement Sink, StreamSink or similar.
+// TODO(floitsch): make Hash implement Sink, EventSink or similar.
abstract class Hash {
/**
* Add a list of bytes to the hash computation.
@@ -74,7 +74,7 @@ abstract class MD5 implements Hash {
* The [add] method is used to add data to the message. The [digest] and
* [close] methods are used to extract the message authentication code.
*/
-// TODO(floitsch): make Hash implement Sink, StreamSink or similar.
+// TODO(floitsch): make Hash implement Sink, EventSink or similar.
abstract class HMAC {
/**
* Create an [HMAC] object from a [Hash] and a key.

Powered by Google App Engine
This is Rietveld 408576698