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

Unified Diff: plugins/org.chromium.sdk/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/debugger/SetPauseOnExceptionsParams.java

Issue 6881016: Add generated interfaces for WIP (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 9 years, 8 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-wip-generated/org/chromium/sdk/internal/wip/protocol/output/debugger/SetPauseOnExceptionsParams.java
diff --git a/plugins/org.chromium.sdk/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/debugger/SetPauseOnExceptionsParams.java b/plugins/org.chromium.sdk/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/debugger/SetPauseOnExceptionsParams.java
new file mode 100644
index 0000000000000000000000000000000000000000..10d68e1272f99f388588f34ff89c05b7c52d64ad
--- /dev/null
+++ b/plugins/org.chromium.sdk/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/debugger/SetPauseOnExceptionsParams.java
@@ -0,0 +1,42 @@
+// Generated source.
+// Generator: org.chromium.sdk.internal.wip.tools.protocolgenerator.Generator
+// Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@84080
+
+package org.chromium.sdk.internal.wip.protocol.output.debugger;
+
+/**
+Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions.
+ */
+public class SetPauseOnExceptionsParams extends org.chromium.sdk.internal.wip.protocol.output.WipParams {
+ public static final String METHOD_NAME = org.chromium.sdk.internal.wip.protocol.BasicConstants.Domain.DEBUGGER + ".setPauseOnExceptions";
+
+ /**
+ @param state Pause on exceptions mode.
+ */
+ public SetPauseOnExceptionsParams(State state) {
+ this.put("state", state);
+ }
+
+ @Override protected String getRequestName() {
+ return METHOD_NAME;
+ }
+
+ /**
+ Pause on exceptions mode.
+ */
+ public enum State {
+ NONE("none"),
+ UNCAUGHT("uncaught"),
+ ALL("all"),
+ ;
+ private final String protocolValue;
+
+ State(String protocolValue) {
+ this.protocolValue = protocolValue;
+ }
+
+ @Override public String toString() {
+ return protocolValue;
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698