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

Unified Diff: mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java

Issue 392223004: Revert of Adding a router class to handle messages that expect responses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java
diff --git a/mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java b/mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java
deleted file mode 100644
index afefad44a056b836957ffba7ad143d8a76002f57..0000000000000000000000000000000000000000
--- a/mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiverWithResponder.java
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2014 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.mojo.bindings;
-
-/**
- * A {@link MessageReceiver} that can also handle the handle the response message generated from the
- * given message.
- */
-public interface MessageReceiverWithResponder extends MessageReceiver {
-
- /**
- * A variant on {@link #accept(MessageWithHeader)} that registers a {@link MessageReceiver}
- * (known as the responder) to handle the response message generated from the given message. The
- * responder's {@link #accept(MessageWithHeader)} method may be called as part of the call to
- * {@link #acceptWithResponder(MessageWithHeader, MessageReceiver)}, or some time after its
- * return.
- */
- boolean acceptWithResponder(MessageWithHeader message, MessageReceiver responder);
-}

Powered by Google App Engine
This is Rietveld 408576698