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

Unified Diff: plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java

Issue 7235005: Add intermediate VmResourceRef for inaccurate source lookup (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: clean Created 9 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 side-by-side diff with in-line comments
Download patch
Index: plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java
diff --git a/plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java b/plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java
index cd1cb89eb1776afd9a2c141a2babf40362604718..c47336eb1ae347d378f7efca447a78f4bfe3ebb2 100644
--- a/plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java
+++ b/plugins/org.chromium.debug.core/src/org/chromium/debug/core/model/VmResourceId.java
@@ -5,7 +5,6 @@
package org.chromium.debug.core.model;
import org.chromium.debug.core.util.ChromiumDebugPluginUtil;
-import org.chromium.sdk.Breakpoint;
import org.chromium.sdk.Script;
/**
@@ -58,18 +57,6 @@ public class VmResourceId {
return "<" + name + " : " + id + ">";
}
- /**
- * @return parameter for {@link JavascriptVm#setBreakpoint} method.
- */
- public Breakpoint.Target getTargetForBreakpoint() {
- if (name != null) {
- return new Breakpoint.Target.ScriptName(name);
- } else {
- return new Breakpoint.Target.ScriptId(id);
- }
- }
-
-
public String getVisibleName() {
String name = getName();
if (name != null) {

Powered by Google App Engine
This is Rietveld 408576698