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

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmLibraryRef.java

Issue 753183003: Fix an issue resolving paths when remote debugging. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Dart project authors. 2 * Copyright 2012 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 * Returns whether this library ref is for the 'dart:async' library. 74 * Returns whether this library ref is for the 'dart:async' library.
75 */ 75 */
76 public boolean isAsync() { 76 public boolean isAsync() {
77 return "dart:async".equals(url); 77 return "dart:async".equals(url);
78 } 78 }
79 79
80 /** 80 /**
81 * Returns whether this library ref is for an internal Dart library. 81 * Returns whether this library ref is for an internal Dart library.
82 */ 82 */
83 public boolean isInternal() { 83 public boolean isInternal() {
84 return "dart:_internal".equals(url) || "dart:builtin".equals(url) 84 return url.startsWith("dart:_") || "dart:nativewrappers".equals(url);
85 || "dart:nativewrappers".equals(url);
86 } 85 }
87 86
88 @Override 87 @Override
89 public String toString() { 88 public String toString() {
90 return "[" + id + "," + url + "]"; 89 return "[" + id + "," + url + "]";
91 } 90 }
92 } 91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698