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

Side by Side Diff: pkg/analysis_server/benchmark/integration/input_converter.dart

Issue 1964953003: Make dart:convert strong mode clean. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove unnecessary dynamics. Created 4 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
« no previous file with comments | « CHANGELOG.md ('k') | pkg/analysis_server/lib/src/channel/channel.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 input.transformer; 5 library input.transformer;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 return json; 265 return json;
266 } 266 }
267 } 267 }
268 268
269 /** 269 /**
270 * [InputConverter] converts an input stream 270 * [InputConverter] converts an input stream
271 * into a series of operations to be sent to the analysis server. 271 * into a series of operations to be sent to the analysis server.
272 * The input stream can be either an instrumenation or log file. 272 * The input stream can be either an instrumenation or log file.
273 */ 273 */
274 class InputConverter 274 class InputConverter extends Converter<String, Operation> {
275 extends ChunkedConverter<String, Operation, String, Operation> {
276 275
277 final Logger logger = new Logger('InputConverter'); 276 final Logger logger = new Logger('InputConverter');
278 277
279 /** 278 /**
280 * A mapping of source path prefixes 279 * A mapping of source path prefixes
281 * from location where instrumentation or log file was generated 280 * from location where instrumentation or log file was generated
282 * to the target location of the source using during performance measurement. 281 * to the target location of the source using during performance measurement.
283 */ 282 */
284 final PathMap srcPathMap; 283 final PathMap srcPathMap;
285 284
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 if (op != null) { 391 if (op != null) {
393 outSink.add(op); 392 outSink.add(op);
394 } 393 }
395 } 394 }
396 395
397 @override 396 @override
398 void close() { 397 void close() {
399 outSink.close(); 398 outSink.close();
400 } 399 }
401 } 400 }
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | pkg/analysis_server/lib/src/channel/channel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698