| OLD | NEW |
| 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 | 6 |
| 7 import 'package:analysis_server/protocol/protocol.dart'; | 7 import 'package:analysis_server/protocol/protocol.dart'; |
| 8 import 'package:analysis_server/protocol/protocol_constants.dart'; | 8 import 'package:analysis_server/protocol/protocol_constants.dart'; |
| 9 import 'package:analysis_server/protocol/protocol_generated.dart' | 9 import 'package:analysis_server/protocol/protocol_generated.dart' |
| 10 hide AnalysisOptions; | 10 hide AnalysisOptions; |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 fail('Unexpected invocation of pluginsForContextRoot'); | 339 fail('Unexpected invocation of pluginsForContextRoot'); |
| 340 return null; | 340 return null; |
| 341 } | 341 } |
| 342 | 342 |
| 343 @override | 343 @override |
| 344 void removedContextRoot(analyzer.ContextRoot contextRoot) { | 344 void removedContextRoot(analyzer.ContextRoot contextRoot) { |
| 345 fail('Unexpected invocation of removedContextRoot'); | 345 fail('Unexpected invocation of removedContextRoot'); |
| 346 } | 346 } |
| 347 | 347 |
| 348 @override | 348 @override |
| 349 Future<Null> restartPlugins() async { |
| 350 // Nothing to restart. |
| 351 return null; |
| 352 } |
| 353 |
| 354 @override |
| 349 void setAnalysisSetPriorityFilesParams( | 355 void setAnalysisSetPriorityFilesParams( |
| 350 plugin.AnalysisSetPriorityFilesParams params) { | 356 plugin.AnalysisSetPriorityFilesParams params) { |
| 351 analysisSetPriorityFilesParams = params; | 357 analysisSetPriorityFilesParams = params; |
| 352 } | 358 } |
| 353 | 359 |
| 354 @override | 360 @override |
| 355 void setAnalysisSetSubscriptionsParams( | 361 void setAnalysisSetSubscriptionsParams( |
| 356 plugin.AnalysisSetSubscriptionsParams params) { | 362 plugin.AnalysisSetSubscriptionsParams params) { |
| 357 analysisSetSubscriptionsParams = params; | 363 analysisSetSubscriptionsParams = params; |
| 358 } | 364 } |
| 359 | 365 |
| 360 @override | 366 @override |
| 361 void setAnalysisUpdateContentParams( | 367 void setAnalysisUpdateContentParams( |
| 362 plugin.AnalysisUpdateContentParams params) { | 368 plugin.AnalysisUpdateContentParams params) { |
| 363 analysisUpdateContentParams = params; | 369 analysisUpdateContentParams = params; |
| 364 } | 370 } |
| 365 | 371 |
| 366 @override | 372 @override |
| 367 Future<List<Null>> stopAll() async { | 373 Future<List<Null>> stopAll() async { |
| 368 fail('Unexpected invocation of stopAll'); | 374 fail('Unexpected invocation of stopAll'); |
| 369 return null; | 375 return null; |
| 370 } | 376 } |
| 371 | 377 |
| 372 @override | 378 @override |
| 373 void whitelistEverything() { | 379 void whitelistEverything() { |
| 374 fail('Unexpected invocation of whitelistEverything'); | 380 fail('Unexpected invocation of whitelistEverything'); |
| 375 } | 381 } |
| 376 } | 382 } |
| OLD | NEW |