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

Side by Side Diff: mojo/bindings/java/src/org/chromium/mojo/bindings/MessageReceiver.java

Issue 371603003: Adding a router class to handle messages that expect responses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix findbugs issue 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.mojo.bindings; 5 package org.chromium.mojo.bindings;
6 6
7 /** 7 /**
8 * A class which implements this interface can receive {@link Message} objects. 8 * A class which implements this interface can receive {@link Message} objects.
9 */ 9 */
10 public interface MessageReceiver { 10 public interface MessageReceiver {
11 11
12 /** 12 /**
13 * Receive a {@link Message}. The {@link MessageReceiver} is allowed to muta ble the message. 13 * Receive a {@link MessageWithHeader}. The {@link MessageReceiver} is allow ed to mutable the
14 * Returns |true| if the message has been handled, |false| otherwise. 14 * message. Returns |true| if the message has been handled, |false| otherwis e.
15 */ 15 */
16 boolean accept(Message message); 16 boolean accept(MessageWithHeader message);
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698