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

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

Issue 2872803003: Remove unused reference to SearchEngine (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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/provisional/completion/completion_core.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) 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/protocol/protocol.dart'; 9 import 'package:analysis_server/protocol/protocol.dart';
10 import 'package:analysis_server/protocol/protocol_generated.dart'; 10 import 'package:analysis_server/protocol/protocol_generated.dart';
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 return; 223 return;
224 } 224 }
225 } 225 }
226 226
227 recordRequest(performance, context, source, params.offset); 227 recordRequest(performance, context, source, params.offset);
228 228
229 CompletionRequestImpl completionRequest = new CompletionRequestImpl( 229 CompletionRequestImpl completionRequest = new CompletionRequestImpl(
230 result, 230 result,
231 context, 231 context,
232 server.resourceProvider, 232 server.resourceProvider,
233 server.searchEngine,
234 source, 233 source,
235 params.offset, 234 params.offset,
236 performance, 235 performance,
237 server.ideOptions); 236 server.ideOptions);
238 237
239 String completionId = (_nextCompletionId++).toString(); 238 String completionId = (_nextCompletionId++).toString();
240 239
241 setNewRequest(completionRequest); 240 setNewRequest(completionRequest);
242 241
243 // initial response without results 242 // initial response without results
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 final int replacementOffset; 328 final int replacementOffset;
330 329
331 /** 330 /**
332 * The suggested completions. 331 * The suggested completions.
333 */ 332 */
334 final List<CompletionSuggestion> suggestions; 333 final List<CompletionSuggestion> suggestions;
335 334
336 CompletionResult( 335 CompletionResult(
337 this.replacementOffset, this.replacementLength, this.suggestions); 336 this.replacementOffset, this.replacementLength, this.suggestions);
338 } 337 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/provisional/completion/completion_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698