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

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

Issue 872443002: (TBR) fix the build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 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 domain.completion; 5 library domain.completion;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
10 import 'package:analysis_server/src/constants.dart'; 10 import 'package:analysis_server/src/constants.dart';
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 /** 51 /**
52 * A list of code completion peformance measurements for the latest 52 * A list of code completion peformance measurements for the latest
53 * completion operation up to [performanceListMaxLength] measurements. 53 * completion operation up to [performanceListMaxLength] measurements.
54 */ 54 */
55 final List<CompletionPerformance> performanceList = 55 final List<CompletionPerformance> performanceList =
56 new List<CompletionPerformance>(); 56 new List<CompletionPerformance>();
57 57
58 /** 58 /**
59 * The maximum number of performance measurements to keep. 59 * The maximum number of performance measurements to keep.
60 */ 60 */
61 static const int performanceListMaxLength = 50; 61 static const int performanceListMaxLength = 0;
62 62
63 /** 63 /**
64 * Performance for the last priority change event. 64 * Performance for the last priority change event.
65 */ 65 */
66 CompletionPerformance priorityChangedPerformance; 66 CompletionPerformance priorityChangedPerformance;
67 67
68 /** 68 /**
69 * Initialize a new request handler for the given [server]. 69 * Initialize a new request handler for the given [server].
70 */ 70 */
71 CompletionDomainHandler(this.server) { 71 CompletionDomainHandler(this.server) {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 if (_sourcesChangedSubscription != null) { 267 if (_sourcesChangedSubscription != null) {
268 _sourcesChangedSubscription.cancel(); 268 _sourcesChangedSubscription.cancel();
269 _sourcesChangedSubscription = null; 269 _sourcesChangedSubscription = null;
270 } 270 }
271 if (_manager != null) { 271 if (_manager != null) {
272 _manager.dispose(); 272 _manager.dispose();
273 _manager = null; 273 _manager = null;
274 } 274 }
275 } 275 }
276 } 276 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698