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

Side by Side Diff: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java

Issue 2922603002: Add an analytics domain to the analysis server. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015, the Dart project authors. 2 * Copyright (c) 2015, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 * not included in the analysis options will not be changed. If there are opti ons in the analysis 278 * not included in the analysis options will not be changed. If there are opti ons in the analysis
279 * options that are not valid, they will be silently ignored. 279 * options that are not valid, they will be silently ignored.
280 * 280 *
281 * @param options The options that are to be used to control analysis. 281 * @param options The options that are to be used to control analysis.
282 * 282 *
283 * @deprecated 283 * @deprecated
284 */ 284 */
285 public void analysis_updateOptions(AnalysisOptions options); 285 public void analysis_updateOptions(AnalysisOptions options);
286 286
287 /** 287 /**
288 * {@code analytics.enable}
289 *
290 * Enable or disable sending analytics information.
291 *
292 * @param value Enable or disable analytics.
293 */
294 public void analytics_enable(boolean value);
295
296 /**
297 * {@code analytics.isEnabled}
298 *
299 * Query whether analytics is enabled.
300 */
301 public void analytics_isEnabled(IsEnabledConsumer consumer);
302
303 /**
304 * {@code analytics.sendEvent}
305 *
306 * Send information about client events.
307 *
308 * @param action The client action name.
309 */
310 public void analytics_sendEvent(String action);
311
312 /**
313 * {@code analytics.sendTiming}
314 *
315 * Send timing information for client events (e.g. code completions).
316 *
317 * @param variable The variable name for the event.
318 * @param millis The duration of the event in milliseconds.
319 */
320 public void analytics_sendTiming(String variable, int millis);
321
322 /**
288 * {@code completion.getSuggestions} 323 * {@code completion.getSuggestions}
289 * 324 *
290 * Request that completion suggestions for the given offset in the given file be returned. 325 * Request that completion suggestions for the given offset in the given file be returned.
291 * 326 *
292 * @param file The file containing the point at which suggestions are to be ma de. 327 * @param file The file containing the point at which suggestions are to be ma de.
293 * @param offset The offset within the file at which suggestions are to be mad e. 328 * @param offset The offset within the file at which suggestions are to be mad e.
294 */ 329 */
295 public void completion_getSuggestions(String file, int offset, GetSuggestionsC onsumer consumer); 330 public void completion_getSuggestions(String file, int offset, GetSuggestionsC onsumer consumer);
296 331
297 /** 332 /**
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 * the response to this request has been sent. 641 * the response to this request has been sent.
607 */ 642 */
608 public void server_shutdown(); 643 public void server_shutdown();
609 644
610 /** 645 /**
611 * Start the analysis server. 646 * Start the analysis server.
612 */ 647 */
613 public void start() throws Exception; 648 public void start() throws Exception;
614 649
615 } 650 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698