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

Side by Side Diff: pkg/analysis_server/lib/src/channel/channel.dart

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library channel;
6
7 import 'dart:async'; 5 import 'dart:async';
8 import 'dart:convert'; 6 import 'dart:convert';
9 7
10 import 'package:analysis_server/protocol/protocol.dart'; 8 import 'package:analysis_server/protocol/protocol.dart';
11 9
12 /** 10 /**
13 * Instances of the class [ChannelChunkSink] uses a [Converter] to translate 11 * Instances of the class [ChannelChunkSink] uses a [Converter] to translate
14 * chunks. 12 * chunks.
15 */ 13 */
16 class ChannelChunkSink<S, T> extends ChunkedConversionSink<S> { 14 class ChannelChunkSink<S, T> extends ChunkedConversionSink<S> {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 /** 141 /**
144 * Send the given [notification] to the client. 142 * Send the given [notification] to the client.
145 */ 143 */
146 void sendNotification(Notification notification); 144 void sendNotification(Notification notification);
147 145
148 /** 146 /**
149 * Send the given [response] to the client. 147 * Send the given [response] to the client.
150 */ 148 */
151 void sendResponse(Response response); 149 void sendResponse(Response response);
152 } 150 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698