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

Side by Side Diff: sdk/lib/async/broadcast_stream_controller.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/async/async_error.dart ('k') | sdk/lib/async/deferred_load.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 part of "dart:async"; 5 part of "async.dart";
6 6
7 class _BroadcastStream<T> extends _ControllerStream<T> { 7 class _BroadcastStream<T> extends _ControllerStream<T> {
8 _BroadcastStream(_StreamControllerLifecycle<T> controller) 8 _BroadcastStream(_StreamControllerLifecycle<T> controller)
9 : super(controller); 9 : super(controller);
10 10
11 bool get isBroadcast => true; 11 bool get isBroadcast => true;
12 } 12 }
13 13
14 class _BroadcastSubscription<T> extends _ControllerSubscription<T> { 14 class _BroadcastSubscription<T> extends _ControllerSubscription<T> {
15 static const int _STATE_EVENT_ID = 1; 15 static const int _STATE_EVENT_ID = 1;
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } 507 }
508 508
509 void _callOnCancel() { 509 void _callOnCancel() {
510 if (_hasPending) { 510 if (_hasPending) {
511 _pending.clear(); 511 _pending.clear();
512 _pending = null; 512 _pending = null;
513 } 513 }
514 super._callOnCancel(); 514 super._callOnCancel();
515 } 515 }
516 } 516 }
OLDNEW
« no previous file with comments | « sdk/lib/async/async_error.dart ('k') | sdk/lib/async/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698