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

Unified Diff: pkg/analysis_server/lib/src/constants.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/constants.dart
diff --git a/pkg/analysis_server/lib/src/constants.dart b/pkg/analysis_server/lib/src/constants.dart
index 9d1eee0104b687db14634a0f57b4a5600d9e9aef..e463de92083465b6a1be0a460a344cf743125c9b 100644
--- a/pkg/analysis_server/lib/src/constants.dart
+++ b/pkg/analysis_server/lib/src/constants.dart
@@ -76,11 +76,25 @@ const String CONTENT = 'content';
const String CORRECTION = 'correction';
const String DART_DOC = 'dartdoc';
const String DEFAULT = 'default';
-const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
-const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort';
const String DISPLAY_NAME = 'displayName';
const String EDIT_FORMAT = 'edit.format';
const String EDIT_GET_ASSISTS = 'edit.getAssists';
+const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
+const String EDITS = 'edits';
+
+//
+// Diagnostic methods
+//
+const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
+const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort';
+
+//
+// Analytics methods
+//
+const String ANALYTICS_IS_ENABLED = 'analytics.isEnabled';
+const String ANALYTICS_ENABLE = 'analytics.enable';
+const String ANALYTICS_SEND_EVENT = 'analytics.sendEvent';
+const String ANALYTICS_SEND_TIMING = 'analytics.sendTiming';
//
// Execution methods
@@ -96,12 +110,6 @@ const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion";
const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives';
//
-// Diagnostics methods
-//
-const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
-const String EDITS = 'edits';
-
-//
// Analysis option names
//
const String ELEMENT = 'element'; // boolean
« no previous file with comments | « pkg/analysis_server/lib/protocol/protocol_generated.dart ('k') | pkg/analysis_server/lib/src/domain_analytics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698