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

Side by Side Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/GetLibraryDependenciesConsumer.java

Issue 874373003: Library dependencies server API updates (to pass package maps). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 package com.google.dart.server; 14 package com.google.dart.server;
15 15
16 import com.google.dart.server.generated.types.RequestError; 16 import com.google.dart.server.generated.types.RequestError;
17 17
18 import java.util.List;
19 import java.util.Map;
20
18 /** 21 /**
19 * The interface {@code GetLibraryDependenciesConsumer} defines the behavior of objects that consume 22 * The interface {@code GetLibraryDependenciesConsumer} defines the behavior of objects that consume
20 * library dependency responses. 23 * library dependency responses.
21 * 24 *
22 * @coverage dart.server 25 * @coverage dart.server
23 */ 26 */
24 public interface GetLibraryDependenciesConsumer extends Consumer { 27 public interface GetLibraryDependenciesConsumer extends Consumer {
25 28
26 /** 29 /**
27 * A list of computed dependent library paths. 30 * A list of computed dependent library paths.
28 * 31 *
29 * @param libraries an array of computed library paths 32 * @param libraries an array of computed library paths
33 * @param packageMap a map of context source roots to maps of package names to lists of associated
34 * source directories
30 */ 35 */
31 public void computedDependencies(String[] libraries); 36 public void computedDependencies(String[] libraries,
37 Map<String, Map<String, List<String>>> packageMap);
32 38
33 /** 39 /**
34 * If a result cannot be passed back, some {@link RequestError} is passed back instead. 40 * If a result cannot be passed back, some {@link RequestError} is passed back instead.
35 * 41 *
36 * @param requestError the reason why a result was not passed back 42 * @param requestError the reason why a result was not passed back
37 */ 43 */
38 public void onError(RequestError requestError); 44 public void onError(RequestError requestError);
39 } 45 }
OLDNEW
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/AnalysisServer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698