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

Unified Diff: plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java

Issue 11662019: Support variable changing in SDK interface and v8 native (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: merge Created 7 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 side-by-side diff with in-line comments
Download patch
Index: plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java
diff --git a/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java b/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java
index ee575934ac35c94eee552ef4dec0ffae03f3fb4f..f7a7fdcdde82624fdc3eccf8685755171479e998 100755
--- a/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java
+++ b/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/output/DebuggerMessageFactory.java
@@ -63,34 +63,6 @@ public class DebuggerMessageFactory {
return new SuspendMessage();
}
- /**
- * A generic 'scope' message parameter that refers to the scope host.
- * It is either a stack frame or a function.
- */
- public static abstract class ScopeHostParameter {
- abstract DebuggerMessage create(int scopeNumber);
-
- public static ScopeHostParameter forFrame(final int frameNumber) {
- return new ScopeHostParameter() {
- @Override DebuggerMessage create(int scopeNumber) {
- return new ScopeMessage(scopeNumber, frameNumber, null);
- }
- };
- }
-
- public static ScopeHostParameter forFunction(final long functionHandle) {
- return new ScopeHostParameter() {
- @Override DebuggerMessage create(int scopeNumber) {
- return new ScopeMessage(scopeNumber, null, functionHandle);
- }
- };
- }
- }
-
- public static DebuggerMessage scope(int scopeNumber, ScopeHostParameter hostParameter) {
- return hostParameter.create(scopeNumber);
- }
-
public static ContextlessDebuggerMessage version() {
return new VersionMessage();
}

Powered by Google App Engine
This is Rietveld 408576698