Chromium Code Reviews| Index: pkg/analysis_server/tool/spec/spec_input.html |
| diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html |
| index b322e53f964277a0303bdb659cef588d696e2da2..db3fdf9c940d71f0df0b1f9b046bec8d3b52c731 100644 |
| --- a/pkg/analysis_server/tool/spec/spec_input.html |
| +++ b/pkg/analysis_server/tool/spec/spec_input.html |
| @@ -2212,6 +2212,51 @@ |
| </result> |
| </request> |
| </domain> |
| +<domain name="analytics" experimental="true"> |
| + <p> |
| + The analytics domain contains APIs related to analytics and usage reporting. |
|
Brian Wilkerson
2017/06/02 15:57:31
"and"? Makes it sound like analytics reporting and
devoncarew
2017/06/02 20:17:03
Updated with some verbiage.
|
| + </p> |
| + <request method="isEnabled"> |
| + <p>Query whether analytics is enabled.</p> |
| + <result> |
| + <field name="enabled"> |
| + <ref>bool</ref> |
| + <p>Whether sending analytics is enabled or not.</p> |
|
Brian Wilkerson
2017/06/02 15:57:31
tl;dr spec docs should be complete, not terse
I t
|
| + </field> |
| + </result> |
| + </request> |
| + <request method="enable"> |
| + <p>Enable or disable sending analytics information.</p> |
| + <params> |
| + <field name="value"> |
| + <ref>bool</ref> |
| + <p>Enable or disable analytics.</p> |
|
Brian Wilkerson
2017/06/02 15:57:31
Perhaps something like
-----
Enable or disable th
|
| + </field> |
| + </params> |
| + </request> |
| + <request method="sendEvent"> |
| + <p>Send information about client events.</p> |
|
Brian Wilkerson
2017/06/02 15:57:31
Perhaps we can be more specific.
-----
Ask the an
|
| + <params> |
| + <field name="action"> |
| + <ref>String</ref> |
| + <p>The client action name.</p> |
|
Brian Wilkerson
2017/06/02 15:57:31
For consistency with the changes above, perhaps
-
|
| + </field> |
| + </params> |
| + </request> |
| + <request method="sendTiming"> |
| + <p>Send timing information for client events (e.g. code completions).</p> |
|
Brian Wilkerson
2017/06/02 15:57:30
Needs similar work.
|
| + <params> |
| + <field name="variable"> |
|
Brian Wilkerson
2017/06/02 15:57:31
Should we keep the name from the underlying API, o
devoncarew
2017/06/02 20:17:03
'variable' is what it's called in the google analy
|
| + <ref>String</ref> |
| + <p>The variable name for the event.</p> |
| + </field> |
| + <field name="millis"> |
| + <ref>int</ref> |
| + <p>The duration of the event in milliseconds.</p> |
| + </field> |
| + </params> |
| + </request> |
| +</domain> |
| <types> |
| <h2 class="domain"><a name="types">Types</a></h2> |
| <p> |