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

Unified Diff: plugins/org.chromium.sdk.wipbackend.wk118685/src/org/chromium/sdk/internal/wip/protocol/input/WipEventType.java

Issue 11829027: drop old backends (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: 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.wipbackend.wk118685/src/org/chromium/sdk/internal/wip/protocol/input/WipEventType.java
diff --git a/plugins/org.chromium.sdk.wipbackend.wk118685/src/org/chromium/sdk/internal/wip/protocol/input/WipEventType.java b/plugins/org.chromium.sdk.wipbackend.wk118685/src/org/chromium/sdk/internal/wip/protocol/input/WipEventType.java
deleted file mode 100644
index 4a4752fe4140e4f579b1adfd62feb668772d13f9..0000000000000000000000000000000000000000
--- a/plugins/org.chromium.sdk.wipbackend.wk118685/src/org/chromium/sdk/internal/wip/protocol/input/WipEventType.java
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.sdk.internal.wip.protocol.input;
-
-import org.chromium.sdk.internal.protocolparser.JsonProtocolParseException;
-import org.json.simple.JSONObject;
-
-/**
- * This class describes event static information that helps to automate response parsing
- * and dispatching.
- */
-public abstract class WipEventType<T> {
- private final String methodName;
- private final Class<T> eventType;
-
- public WipEventType(String methodName, Class<T> eventType) {
- this.methodName = methodName;
- this.eventType = eventType;
- }
-
- public String getMethodName() {
- return methodName;
- }
-
- public Class<T> getEventType() {
- return eventType;
- }
-
- public abstract T parse(WipGeneratedParserRoot parser, JSONObject obj)
- throws JsonProtocolParseException;
-}

Powered by Google App Engine
This is Rietveld 408576698