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

Unified Diff: plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java

Issue 11833010: Expose liveedit compile error data in SDK (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: fcr 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
« no previous file with comments | « plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/ChangeLiveBody.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java
diff --git a/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java b/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java
index a0a4cd46925db76f6c6c145d6f1e4d3278c2abe2..91a68d2373431515d80d6208dbe7d4ea4f3faf97 100644
--- a/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java
+++ b/plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/FailedCommandResponse.java
@@ -8,6 +8,7 @@ import org.chromium.sdk.internal.protocolparser.JsonField;
import org.chromium.sdk.internal.protocolparser.JsonOptionalField;
import org.chromium.sdk.internal.protocolparser.JsonOverrideField;
import org.chromium.sdk.internal.protocolparser.JsonSubtype;
+import org.chromium.sdk.internal.protocolparser.JsonSubtypeCasting;
import org.chromium.sdk.internal.protocolparser.JsonSubtypeConditionBoolValue;
import org.chromium.sdk.internal.protocolparser.JsonType;
@@ -36,11 +37,12 @@ public interface FailedCommandResponse extends JsonSubtype<CommandResponse> {
@JsonType
interface ErrorDetails {
Type type();
-
- // Add subtype cast methods here.
+
+ @JsonSubtypeCasting
+ ChangeLiveBody.CompileErrorDetails asChangeLiveCompileError();
enum Type {
- // Add error types here.
+ LIVEEDIT_COMPILE_ERROR
}
}
}
« no previous file with comments | « plugins/org.chromium.sdk/src/org/chromium/sdk/internal/v8native/protocol/input/ChangeLiveBody.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698