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

Unified Diff: pkg/analysis_server/lib/src/plugin/server_plugin.dart

Issue 2922603002: Add an analytics domain to the analysis server. (Closed)
Patch Set: review comments 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/plugin/server_plugin.dart
diff --git a/pkg/analysis_server/lib/src/plugin/server_plugin.dart b/pkg/analysis_server/lib/src/plugin/server_plugin.dart
index b06855d8a4b264ba32a818eda88cbf67b243943d..741f4257b15014a378c9b54a7643a033f947e8cb 100644
--- a/pkg/analysis_server/lib/src/plugin/server_plugin.dart
+++ b/pkg/analysis_server/lib/src/plugin/server_plugin.dart
@@ -15,6 +15,7 @@ import 'package:analysis_server/plugin/edit/fix/fix_core.dart';
import 'package:analysis_server/protocol/protocol.dart';
import 'package:analysis_server/src/analysis_server.dart';
import 'package:analysis_server/src/domain_analysis.dart';
+import 'package:analysis_server/src/domain_analytics.dart';
import 'package:analysis_server/src/domain_completion.dart';
import 'package:analysis_server/src/domain_diagnostic.dart';
import 'package:analysis_server/src/domain_execution.dart';
@@ -306,6 +307,9 @@ class ServerPlugin implements Plugin {
(AnalysisServer server) => new ExecutionDomainHandler(server));
registerExtension(domainId,
(AnalysisServer server) => new DiagnosticDomainHandler(server));
+ registerExtension(domainId,
+ (AnalysisServer server) => new AnalyticsDomainHandler(server));
+
//
// Register fix contributors.
//
« no previous file with comments | « pkg/analysis_server/lib/src/domain_analytics.dart ('k') | pkg/analysis_server/test/integration/analytics/enable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698