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

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

Issue 522353003: mojo: Run validation tests on java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move backward compatibility test o its own package. Created 6 years, 3 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
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 import java.io.Closeable; 7 import java.io.Closeable;
8 8
9 /** 9 /**
10 * A class which implements this interface can receive {@link Message} objects. 10 * A class which implements this interface can receive {@link Message} objects.
11 */ 11 */
12 public interface MessageReceiver extends Closeable { 12 public interface MessageReceiver extends Closeable {
13 13
14 /** 14 /**
15 * Receive a {@link MessageWithHeader}. The {@link MessageReceiver} is allow ed to mutable the 15 * Receive a {@link Message}. The {@link MessageReceiver} is allowed to muta te the message.
16 * message. Returns |true| if the message has been handled, |false| otherwis e. 16 * Returns |true| if the message has been handled, |false| otherwise.
17 */ 17 */
18 boolean accept(Message message); 18 boolean accept(Message message);
19 19
20 /** 20 /**
21 * @see java.io.Closeable#close() 21 * @see java.io.Closeable#close()
22 */ 22 */
23 @Override 23 @Override
24 public void close(); 24 public void close();
25 } 25 }
OLDNEW
« no previous file with comments | « mojo/public/java/bindings/src/org/chromium/mojo/bindings/Decoder.java ('k') | mojo/public/js/bindings/validation_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698