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

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

Issue 1469393003: remove redundant CompletionRequestImpl class (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/services/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/plugin/protocol/protocol.dart'; 9 import 'package:analysis_server/plugin/protocol/protocol.dart';
10 import 'package:analysis_server/src/analysis_server.dart'; 10 import 'package:analysis_server/src/analysis_server.dart';
11 import 'package:analysis_server/src/constants.dart'; 11 import 'package:analysis_server/src/constants.dart';
12 import 'package:analysis_server/src/context_manager.dart'; 12 import 'package:analysis_server/src/context_manager.dart';
13 import 'package:analysis_server/src/provisional/completion/completion_core.dart' 13 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
14 show CompletionRequest, CompletionResult; 14 show CompletionRequest, CompletionResult;
15 import 'package:analysis_server/src/services/completion/completion_core.dart';
15 import 'package:analysis_server/src/services/completion/completion_manager.dart' ; 16 import 'package:analysis_server/src/services/completion/completion_manager.dart' ;
16 import 'package:analysis_server/src/services/search/search_engine.dart'; 17 import 'package:analysis_server/src/services/search/search_engine.dart';
17 import 'package:analyzer/src/generated/engine.dart'; 18 import 'package:analyzer/src/generated/engine.dart';
18 import 'package:analyzer/src/generated/source.dart'; 19 import 'package:analyzer/src/generated/source.dart';
19 20
20 export 'package:analysis_server/src/services/completion/completion_manager.dart' 21 export 'package:analysis_server/src/services/completion/completion_manager.dart'
21 show CompletionPerformance, CompletionRequest, OperationPerformance; 22 show CompletionPerformance, CompletionRequest, OperationPerformance;
22 23
23 /** 24 /**
24 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler] 25 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler]
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 if (_sourcesChangedSubscription != null) { 285 if (_sourcesChangedSubscription != null) {
285 _sourcesChangedSubscription.cancel(); 286 _sourcesChangedSubscription.cancel();
286 _sourcesChangedSubscription = null; 287 _sourcesChangedSubscription = null;
287 } 288 }
288 if (_manager != null) { 289 if (_manager != null) {
289 _manager.dispose(); 290 _manager.dispose();
290 _manager = null; 291 _manager = null;
291 } 292 }
292 } 293 }
293 } 294 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/completion_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698