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

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

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.mojo.bindings;
6
7 import java.io.Closeable;
8
9 /**
10 * A class which implements this interface can receive {@link Message} objects.
11 */
12 public interface MessageReceiver extends Closeable {
13
14 /**
15 * Receive a {@link Message}. The {@link MessageReceiver} is allowed to muta te the message.
16 * Returns |true| if the message has been handled, |false| otherwise.
17 */
18 boolean accept(Message message);
19
20 /**
21 * @see java.io.Closeable#close()
22 */
23 @Override
24 public void close();
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698